summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-07-09 00:27:49 +0000
committerJeroen Roovers <jer@gentoo.org>2012-07-09 00:27:49 +0000
commitcb192ce56c13b50124122dd33e6aef5b659d8080 (patch)
tree38b84ca416bf08568525f9028f1f2853ef259a90 /net-libs/netwib
parentClean up. (diff)
downloadgentoo-2-cb192ce56c13b50124122dd33e6aef5b659d8080.tar.gz
gentoo-2-cb192ce56c13b50124122dd33e6aef5b659d8080.tar.bz2
gentoo-2-cb192ce56c13b50124122dd33e6aef5b659d8080.zip
Clean up.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/netwib')
-rw-r--r--net-libs/netwib/ChangeLog5
-rw-r--r--net-libs/netwib/netwib-5.39.0.ebuild17
2 files changed, 13 insertions, 9 deletions
diff --git a/net-libs/netwib/ChangeLog b/net-libs/netwib/ChangeLog
index efe19e333bae..bb081065e7a2 100644
--- a/net-libs/netwib/ChangeLog
+++ b/net-libs/netwib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/netwib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/netwib/ChangeLog,v 1.41 2012/07/09 00:11:02 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/netwib/ChangeLog,v 1.42 2012/07/09 00:27:49 jer Exp $
+
+ 09 Jul 2012; Jeroen Roovers <jer@gentoo.org> netwib-5.39.0.ebuild:
+ Clean up.
*netwib-5.39.0 (09 Jul 2012)
diff --git a/net-libs/netwib/netwib-5.39.0.ebuild b/net-libs/netwib/netwib-5.39.0.ebuild
index 1dbb2c36937f..222410524b91 100644
--- a/net-libs/netwib/netwib-5.39.0.ebuild
+++ b/net-libs/netwib/netwib-5.39.0.ebuild
@@ -1,11 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/netwib/netwib-5.39.0.ebuild,v 1.1 2012/07/09 00:11:02 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/netwib/netwib-5.39.0.ebuild,v 1.2 2012/07/09 00:27:49 jer Exp $
# NOTE: netwib, netwox and netwag go together, bump all or bump none
-EAPI="2"
-
+EAPI=4
inherit toolchain-funcs multilib
DESCRIPTION="Library of Ethernet, IP, UDP, TCP, ICMP, ARP and RARP protocols"
@@ -21,11 +20,13 @@ SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="doc"
-DEPEND="net-libs/libpcap
- >=net-libs/libnet-1.1.1"
+DEPEND="
+ >=net-libs/libnet-1.1.1
+ net-libs/libpcap
+"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${P}-src/src"
+S=${WORKDIR}/${P}-src/src
src_prepare() {
sed -i \
@@ -36,7 +37,7 @@ src_prepare() {
-e "s:=ranlib:=$(tc-getRANLIB):" \
-e "s:=gcc:=$(tc-getCC):" \
-e "s:-O2:${CFLAGS}:" \
- config.dat
+ config.dat || die
}
src_configure() {
@@ -44,7 +45,7 @@ src_configure() {
}
src_install() {
- emake install DESTDIR="${D}" || die
+ default
dodoc ../README.TXT
if use doc; then
mkdir "${D}"/usr/share/doc/${PF}/html