summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-03-24 17:24:06 +0000
committerJeroen Roovers <jer@gentoo.org>2011-03-24 17:24:06 +0000
commit374f93d39a9dd4f2dd31052a6572849b6de134a9 (patch)
tree378a879308616beef17c235393205549fec04ff3 /net-misc/packETH
parentDEPEND on dev-util/pkgconfig thanks to dE (bug #360125). (diff)
downloadgentoo-2-374f93d39a9dd4f2dd31052a6572849b6de134a9.tar.gz
gentoo-2-374f93d39a9dd4f2dd31052a6572849b6de134a9.tar.bz2
gentoo-2-374f93d39a9dd4f2dd31052a6572849b6de134a9.zip
Version bump. DEPEND on dev-util/pkgconfig thanks to dE (bug #360125).
(Portage version: 2.2.0_alpha28/cvs/Linux i686)
Diffstat (limited to 'net-misc/packETH')
-rw-r--r--net-misc/packETH/ChangeLog8
-rw-r--r--net-misc/packETH/packETH-1.6.3.ebuild11
-rw-r--r--net-misc/packETH/packETH-1.7.1.ebuild39
3 files changed, 53 insertions, 5 deletions
diff --git a/net-misc/packETH/ChangeLog b/net-misc/packETH/ChangeLog
index 1920e23ae698..0768dc6d81da 100644
--- a/net-misc/packETH/ChangeLog
+++ b/net-misc/packETH/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/packETH
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/ChangeLog,v 1.12 2011/03/24 17:15:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/ChangeLog,v 1.13 2011/03/24 17:24:06 jer Exp $
+
+*packETH-1.7.1 (24 Mar 2011)
+
+ 24 Mar 2011; Jeroen Roovers <jer@gentoo.org> packETH-1.6.3.ebuild,
+ +packETH-1.7.1.ebuild:
+ Version bump. DEPEND on dev-util/pkgconfig thanks to dE (bug #360125).
24 Mar 2011; Jeroen Roovers <jer@gentoo.org> packETH-1.6.5.ebuild,
packETH-1.7.ebuild:
diff --git a/net-misc/packETH/packETH-1.6.3.ebuild b/net-misc/packETH/packETH-1.6.3.ebuild
index 24f112f353a8..68ce1fcc49e3 100644
--- a/net-misc/packETH/packETH-1.6.3.ebuild
+++ b/net-misc/packETH/packETH-1.6.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/packETH-1.6.3.ebuild,v 1.3 2010/05/20 10:31:33 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/packETH-1.6.3.ebuild,v 1.4 2011/03/24 17:24:06 jer Exp $
EAPI="2"
@@ -15,8 +15,11 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
-DEPEND="=x11-libs/gtk+-2*"
-RDEPEND="${DEPEND}"
+RDEPEND="=x11-libs/gtk+-2*"
+DEPEND="
+ dev-util/pkgconfig
+ ${RDEPEND}
+"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
diff --git a/net-misc/packETH/packETH-1.7.1.ebuild b/net-misc/packETH/packETH-1.7.1.ebuild
new file mode 100644
index 000000000000..5ed3d16740ab
--- /dev/null
+++ b/net-misc/packETH/packETH-1.7.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/packETH-1.7.1.ebuild,v 1.1 2011/03/24 17:24:06 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs autotools
+
+DESCRIPTION="Packet generator tool for ethernet"
+HOMEPAGE="http://packeth.sourceforge.net/"
+SRC_URI="mirror://sourceforge/packeth/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="
+ dev-util/pkgconfig
+ ${RDEPEND}
+"
+
+S="${WORKDIR}/${P/.1}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.6.5-forced-as-needed.patch"
+ eautomake
+}
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README || die
+}