summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-05-08 21:19:03 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-05-08 21:19:03 +0000
commit36cd2a1b7acb7ea4eb6059350c1b1e910454b34a (patch)
tree6b61d21d16d85fa6d9c858f18ada48f23a9480dc /net-libs/libnet
parentVersion bump. (diff)
downloadhistorical-36cd2a1b7acb7ea4eb6059350c1b1e910454b34a.tar.gz
historical-36cd2a1b7acb7ea4eb6059350c1b1e910454b34a.tar.bz2
historical-36cd2a1b7acb7ea4eb6059350c1b1e910454b34a.zip
Added gnuconfig support for mips.
Diffstat (limited to 'net-libs/libnet')
-rw-r--r--net-libs/libnet/ChangeLog5
-rw-r--r--net-libs/libnet/Manifest12
-rw-r--r--net-libs/libnet/libnet-1.1.2.1.ebuild14
3 files changed, 23 insertions, 8 deletions
diff --git a/net-libs/libnet/ChangeLog b/net-libs/libnet/ChangeLog
index 064618a7fa01..87134a060d49 100644
--- a/net-libs/libnet/ChangeLog
+++ b/net-libs/libnet/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/libnet
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.32 2004/04/02 00:32:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.33 2004/05/08 21:19:03 kumba Exp $
+
+ 08 May 2004; Joshua Kinard <kumba@gentoo.org> libnet-1.1.2.1.ebuild:
+ Added gnuconfig support for mips.
*libnet-1.1.2.1 (01 Apr 2004)
diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest
index 1a8095c3b7a7..3b6273dd1017 100644
--- a/net-libs/libnet/Manifest
+++ b/net-libs/libnet/Manifest
@@ -1,10 +1,10 @@
+MD5 43b80775f1f1e0de0f2f15a81a5f346f ChangeLog 4576
+MD5 bb75f851d24afe9b4ad49d47fe62aa64 libnet-1.0.2a-r3.ebuild 1649
+MD5 04890dd44fa2f931d0e30d176a3ed8e7 libnet-1.1.1.ebuild 753
+MD5 cd29ba7b7d1d108332a6b28e101ec2d6 metadata.xml 1084
+MD5 7ab2e815f84c083c350d682f7a8b8b02 libnet-1.1.2.1.ebuild 958
MD5 03222434915e5cdf87199c89f16fd09e files/1.0.2a-slot.patch 4889
MD5 69c5edaa98f4890a0b542a8fe9937383 files/digest-libnet-1.0.2a-r3 65
+MD5 2618eca70575dcefd452e252db8fe704 files/digest-libnet-1.1.2.1 67
MD5 356ec47bcb6b32a9ff6e74daf17980f9 files/digest-libnet-1.1.1 64
MD5 503929f0e619836305f1e58a151baee4 files/libnet-gcc33-fix 563
-MD5 2618eca70575dcefd452e252db8fe704 files/digest-libnet-1.1.2.1 67
-MD5 b835141d830acc5cc20859b56584694a ChangeLog 4469
-MD5 bb75f851d24afe9b4ad49d47fe62aa64 libnet-1.0.2a-r3.ebuild 1649
-MD5 04890dd44fa2f931d0e30d176a3ed8e7 libnet-1.1.1.ebuild 753
-MD5 cd29ba7b7d1d108332a6b28e101ec2d6 metadata.xml 1084
-MD5 888560298ed31ec4950b18fae701b34f libnet-1.1.2.1.ebuild 774
diff --git a/net-libs/libnet/libnet-1.1.2.1.ebuild b/net-libs/libnet/libnet-1.1.2.1.ebuild
index 8c351a690ca6..9d8e36f9d6b9 100644
--- a/net-libs/libnet/libnet-1.1.2.1.ebuild
+++ b/net-libs/libnet/libnet-1.1.2.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.2.1.ebuild,v 1.3 2004/05/05 21:51:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.2.1.ebuild,v 1.4 2004/05/08 21:19:03 kumba Exp $
+
+inherit gnuconfig
DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)"
HOMEPAGE="http://www.packetfactory.net/libnet/"
@@ -13,6 +15,16 @@ IUSE=""
S=${WORKDIR}/libnet
+src_compile() {
+ cd ${S}
+
+ # Detect mips systems properly
+ use mips && gnuconfig_update
+
+ econf || die "Failed to run econf!"
+ emake || die "Failed to run emake!"
+}
+
src_install(){
make DESTDIR=${D} install || die "Failed to install"
dobin libnet-config || die