diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-01 20:55:22 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-01 20:55:22 +0000 |
commit | 03c0d6731fe69adfa6a8e04925defc5a6b6e9142 (patch) | |
tree | fbf33a89d264b4fb83e92432587703f244bb67d0 /net-analyzer/netselect | |
parent | add ~alpha (Manifest recommit) (diff) | |
download | gentoo-2-03c0d6731fe69adfa6a8e04925defc5a6b6e9142.tar.gz gentoo-2-03c0d6731fe69adfa6a8e04925defc5a6b6e9142.tar.bz2 gentoo-2-03c0d6731fe69adfa6a8e04925defc5a6b6e9142.zip |
IUSE; sed in src_unpack (bug #55755); use emake; error check; tidy
Diffstat (limited to 'net-analyzer/netselect')
-rw-r--r-- | net-analyzer/netselect/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/netselect/netselect-0.3-r1.ebuild | 26 |
2 files changed, 21 insertions, 11 deletions
diff --git a/net-analyzer/netselect/ChangeLog b/net-analyzer/netselect/ChangeLog index 54e5f8a377ab..9bb39902bc11 100644 --- a/net-analyzer/netselect/ChangeLog +++ b/net-analyzer/netselect/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/netselect # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/ChangeLog,v 1.13 2004/06/30 23:12:31 eldad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/ChangeLog,v 1.14 2004/07/01 20:55:22 mr_bones_ Exp $ + + 01 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> + netselect-0.3-r1.ebuild: + IUSE; sed in src_unpack (bug #55755); use emake; error check; tidy *netselect-0.3-r1 (01 Jul 2004) diff --git a/net-analyzer/netselect/netselect-0.3-r1.ebuild b/net-analyzer/netselect/netselect-0.3-r1.ebuild index d4bd28e22eda..86dd3bba54d9 100644 --- a/net-analyzer/netselect/netselect-0.3-r1.ebuild +++ b/net-analyzer/netselect/netselect-0.3-r1.ebuild @@ -1,31 +1,37 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r1.ebuild,v 1.1 2004/06/30 23:12:31 eldad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r1.ebuild,v 1.2 2004/07/01 20:55:22 mr_bones_ Exp $ -S=${WORKDIR}/${PN} DESCRIPTION="Ultrafast implementation of ping." HOMEPAGE="http://www.worldvisions.ca/~apenwarr/netselect/" SRC_URI="http://www.worldvisions.ca/~apenwarr/netselect/${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390" +IUSE="" -src_compile() { - mv Makefile Makefile.orig - sed -e "s:PREFIX =.*:PREFIX = ${D}usr:" \ +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "s:PREFIX =.*:PREFIX = ${D}usr:" \ -e "s:CFLAGS =.*:CFLAGS = -Wall -I. -g ${CFLAGS}:" \ -e '23,27d' \ -e '34d' \ - -i Makefile + Makefile \ + || die "sed Makefile failed" +} - make || die +src_compile() { + emake || die "emake failed" } src_install () { - make install || die + make install || die "make install failed" fowners root:wheel /usr/bin/netselect fperms 4710 /usr/bin/netselect - dodoc ChangeLog HISTORY README* } |