diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-01-28 10:39:51 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-01-28 10:39:51 +0000 |
commit | f9482361a9cfe8c2952f782c3254412527b8f0a4 (patch) | |
tree | 7851eb11d867562828794969127c7c64d4a2fdc9 /net-analyzer/netio | |
parent | Version bump. (diff) | |
download | historical-f9482361a9cfe8c2952f782c3254412527b8f0a4.tar.gz historical-f9482361a9cfe8c2952f782c3254412527b8f0a4.tar.bz2 historical-f9482361a9cfe8c2952f782c3254412527b8f0a4.zip |
Minor ebuild cleansing; respect CFLAGS. Also added pkg_postinst for messages regarding the license.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-analyzer/netio')
-rw-r--r-- | net-analyzer/netio/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/netio/Manifest | 14 | ||||
-rw-r--r-- | net-analyzer/netio/netio-1.23.ebuild | 46 |
3 files changed, 52 insertions, 16 deletions
diff --git a/net-analyzer/netio/ChangeLog b/net-analyzer/netio/ChangeLog index 5de31c62b218..4bba23ed8218 100644 --- a/net-analyzer/netio/ChangeLog +++ b/net-analyzer/netio/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/netio -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netio/ChangeLog,v 1.8 2004/11/20 04:02:37 weeve Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netio/ChangeLog,v 1.9 2005/01/28 10:39:51 ka0ttic Exp $ + + 28 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> netio-1.23.ebuild: + Minor ebuild cleansing; respect CFLAGS. Also added pkg_postinst for messages + regarding the license. 19 Nov 2004; Jason Wever <weeve@gentoo.org> netio-1.23.ebuild: Stable on sparc. diff --git a/net-analyzer/netio/Manifest b/net-analyzer/netio/Manifest index 97c5cfc4ff4b..510bf1858980 100644 --- a/net-analyzer/netio/Manifest +++ b/net-analyzer/netio/Manifest @@ -1,4 +1,14 @@ -MD5 a892feeb79ef9df1e43c00909203c02e ChangeLog 3887 -MD5 570ed4df895bea1b03c75ba1bf477992 netio-1.23.ebuild 1082 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 d937f9db3863634a79e88e29e0af66d0 netio-1.23.ebuild 1480 +MD5 faac2f7f818517292d07e09ddd4dc0db ChangeLog 4062 MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159 MD5 e2011a67f325086737a95017b12456d1 files/digest-netio-1.23 57 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFB+haAEZCkKN40op4RAsgOAJoDhLhL2engnobaWQyMom+wE2LpVACgiPtY +1J3lgz2nZhCMSrB2xRiVOK8= +=cptX +-----END PGP SIGNATURE----- diff --git a/net-analyzer/netio/netio-1.23.ebuild b/net-analyzer/netio/netio-1.23.ebuild index c93e9ce64391..238d03eae237 100644 --- a/net-analyzer/netio/netio-1.23.ebuild +++ b/net-analyzer/netio/netio-1.23.ebuild @@ -1,33 +1,55 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netio/netio-1.23.ebuild,v 1.11 2004/11/20 04:02:37 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netio/netio-1.23.ebuild,v 1.12 2005/01/28 10:39:51 ka0ttic Exp $ + +inherit toolchain-funcs DESCRIPTION="a network benchmark for DOS, OS/2, Windows NT and Unix that measures net througput with NetBIOS and TCP/IP protocols." HOMEPAGE="http://freshmeat.net/projects/netio/" SRC_URI="http://ftp.leo.org/pub/comp/os/os2/leo/systools/netio123.zip" + LICENSE="free-noncomm" SLOT="0" KEYWORDS="x86 ppc sparc ppc-macos" IUSE="" + DEPEND="virtual/libc - app-arch/unzip" + app-arch/unzip + >=sys-apps/sed-4" RDEPEND="virtual/libc" -S=${WORKDIR}/ + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e 's|\(CFLAGS\)=|\1?=|g' \ + -e 's|\(CC\)=|\1?=|g' Makefile || die "sed Makefile failed" +} src_compile() { - emake linux || die + emake linux \ + CC="$(tc-getCC)" \ + CFLAGS="-DUNIX ${CFLAGS}" \ + || die "emake failed" } src_install() { - into /usr - dobin netio + dobin netio || die "dobin failed" # to be sure to comply with the license statement in netio.doc, # just install everything included in the package to doc - dodoc netio.doc FILE_ID.DIZ getopt.h netb_1_c.h netbios.h netio.c\ - getopt.o netb_2_c.h netbios.o netio.doc getopt.c Makefile netbios.c\ - netio netio.o + dodoc netio.doc FILE_ID.DIZ getopt.h netb_1_c.h netbios.h netio.c \ + netb_2_c.h netio.doc getopt.c Makefile netbios.c + + # also install binaries + dodoc bin/os2-i386.exe bin/win32-i386.exe bin/linux-i386 +} - # also install binaries for other platforms than linux - dodoc bin/os2-i386.exe bin/win32-i386.exe +pkg_postinst() { + echo + einfo "NOTE: all files included in the upstream zip file have" + einfo "been installed to /usr/share/doc/${PF}, as required by" + einfo "the license." + echo } |