diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-28 12:07:07 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-28 12:07:07 +0000 |
commit | 70013275d6e6a29bab02a1be9235747e6bd5409c (patch) | |
tree | cf7dce165a9748f8e1efd5d919b805b1e454e4f6 /net-misc/ipsorcery | |
parent | old (diff) | |
download | gentoo-2-70013275d6e6a29bab02a1be9235747e6bd5409c.tar.gz gentoo-2-70013275d6e6a29bab02a1be9235747e6bd5409c.tar.bz2 gentoo-2-70013275d6e6a29bab02a1be9235747e6bd5409c.zip |
Remove USE="gtk" because GTK+ 1.2.x is obsolete.
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/ipsorcery')
-rw-r--r-- | net-misc/ipsorcery/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/ipsorcery/ipsorcery-2.0.9-r1.ebuild | 43 |
2 files changed, 22 insertions, 27 deletions
diff --git a/net-misc/ipsorcery/ChangeLog b/net-misc/ipsorcery/ChangeLog index a8a34963f40d..1deddfa8accc 100644 --- a/net-misc/ipsorcery/ChangeLog +++ b/net-misc/ipsorcery/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/ipsorcery # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ipsorcery/ChangeLog,v 1.12 2010/08/21 19:13:59 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipsorcery/ChangeLog,v 1.13 2010/10/28 12:07:07 ssuominen Exp $ + + 28 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> + ipsorcery-2.0.9-r1.ebuild: + Remove USE="gtk" because GTK+ 1.2.x is obsolete. *ipsorcery-2.0.9-r1 (21 Aug 2010) diff --git a/net-misc/ipsorcery/ipsorcery-2.0.9-r1.ebuild b/net-misc/ipsorcery/ipsorcery-2.0.9-r1.ebuild index 78a7bbef39a0..566f4df16d88 100644 --- a/net-misc/ipsorcery/ipsorcery-2.0.9-r1.ebuild +++ b/net-misc/ipsorcery/ipsorcery-2.0.9-r1.ebuild @@ -1,41 +1,32 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ipsorcery/ipsorcery-2.0.9-r1.ebuild,v 1.2 2010/10/28 10:48:18 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipsorcery/ipsorcery-2.0.9-r1.ebuild,v 1.3 2010/10/28 12:07:07 ssuominen Exp $ +EAPI=2 inherit toolchain-funcs -DESCRIPTION="Ipsorcery allows you to generate IP, TCP, UDP, ICMP, and IGMP packets." -SRC_URI="http://www.legions.org/~phric/ipsorc-${PV}.tar.gz" -HOMEPAGE="http://www.legions.org/~phric/ipsorcery.html" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" +DESCRIPTION="Ipsorcery allows you to generate IP, TCP, UDP, ICMP, and IGMP packets" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="mirror://gentoo/ipsorc-${PV}.tar.gz" + LICENSE="GPL-2" SLOT="0" -IUSE="gtk" - -DEPEND="gtk? ( =x11-libs/gtk+-1.2* )" -RDEPEND="${DEPEND}" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" S=${WORKDIR}/ipsorc-${PV} -src_unpack() { - unpack ${A} - sed -i -e "s:-g -O2:${CFLAGS} ${LDFLAGS}:g" \ - -e "/^CC/s:=.*$:="$(tc-getCC)":" "${S}"/Makefile \ - || die "sed failed" +src_prepare() { + sed -i \ + -e 's:-g -O2:$(LDFLAGS) $(CFLAGS):' \ + Makefile || die } -src_compile () { - if use gtk; then - emake all || die - else - make con || die - fi +src_compile() { + emake CC="$(tc-getCC)" con || die } -src_install () { - if use gtk; then - dosbin magic - fi - dosbin ipmagic - dodoc README HOWTO +src_install() { + dosbin ipmagic || die + dodoc BUGS changelog HOWTO README } |