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
commit5973e695cdced8d5538f0de67359bf4476ca2ae7 (patch)
tree71ff7e7524aeda2bcfc26d270ab029d4b0f75fac /net-libs
parentVersion bump. (Manifest recommit) (diff)
downloadgentoo-2-5973e695cdced8d5538f0de67359bf4476ca2ae7.tar.gz
gentoo-2-5973e695cdced8d5538f0de67359bf4476ca2ae7.tar.bz2
gentoo-2-5973e695cdced8d5538f0de67359bf4476ca2ae7.zip
Added gnuconfig support for mips.
Diffstat (limited to 'net-libs')
-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..aa44fc4dc1d4 100644
--- a/net-libs/libnet/Manifest
+++ b/net-libs/libnet/Manifest
@@ -1,10 +1,10 @@
+MD5 5ed730b28dabff60a9efd836c992d289 ChangeLog 4577
+MD5 bb75f851d24afe9b4ad49d47fe62aa64 libnet-1.0.2a-r3.ebuild 1649
+MD5 04890dd44fa2f931d0e30d176a3ed8e7 libnet-1.1.1.ebuild 753
+MD5 cd29ba7b7d1d108332a6b28e101ec2d6 metadata.xml 1084
+MD5 e757488d046a58ad4a143df454e107ba libnet-1.1.2.1.ebuild 960
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