summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-25 21:49:32 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-25 21:49:32 +0000
commit0e9faf74af6ffb442d4a35b49d059d6235cbc7fb (patch)
tree50cd699e2f4a9e8d562c30e8b719e560b576d0a4
parentmoved to netwib (diff)
downloadgentoo-2-0e9faf74af6ffb442d4a35b49d059d6235cbc7fb.tar.gz
gentoo-2-0e9faf74af6ffb442d4a35b49d059d6235cbc7fb.tar.bz2
gentoo-2-0e9faf74af6ffb442d4a35b49d059d6235cbc7fb.zip
move from lcrzo #35158
-rw-r--r--net-libs/netwib/ChangeLog8
-rw-r--r--net-libs/netwib/files/digest-netwib-5.6.01
-rw-r--r--net-libs/netwib/netwib-5.6.0.ebuild38
3 files changed, 47 insertions, 0 deletions
diff --git a/net-libs/netwib/ChangeLog b/net-libs/netwib/ChangeLog
new file mode 100644
index 000000000000..707a7abfb6e7
--- /dev/null
+++ b/net-libs/netwib/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-libs/netwib
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/netwib/ChangeLog,v 1.1 2003/12/25 21:49:32 vapier Exp $
+
+*netwib-5.6.0 (25 Dec 2003)
+
+ 25 Dec 2003; Mike Frysinger <vapier@gentoo.org> :
+ Cleaned up #35158.
diff --git a/net-libs/netwib/files/digest-netwib-5.6.0 b/net-libs/netwib/files/digest-netwib-5.6.0
new file mode 100644
index 000000000000..f9016a393bd8
--- /dev/null
+++ b/net-libs/netwib/files/digest-netwib-5.6.0
@@ -0,0 +1 @@
+MD5 ea9cbe3a174e2b9d0abf2f46cad7bb87 netwib-5.6.0-src.tgz 503257
diff --git a/net-libs/netwib/netwib-5.6.0.ebuild b/net-libs/netwib/netwib-5.6.0.ebuild
new file mode 100644
index 000000000000..712e53ac58f3
--- /dev/null
+++ b/net-libs/netwib/netwib-5.6.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/netwib/netwib-5.6.0.ebuild,v 1.1 2003/12/25 21:49:32 vapier Exp $
+
+DESCRIPTION="Library of Ethernet, IP, UDP, TCP, ICMP, ARP and RARP protocols"
+HOMEPAGE="http://www.laurentconstantin.com/en/netw/netwib/"
+SRC_URI="http://www.laurentconstantin.com/common/netw/netwib/download/v${PV/.*}/${P}-src.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc"
+
+DEPEND="net-libs/libpcap
+ >=net-libs/libnet-1.1.1"
+
+S=${WORKDIR}/${P}-src
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+
+ sed -i \
+ -e 's:/usr/local:/usr:g' \
+ -e "s:-O2:${CFLAGS}:" \
+ genemake config.dat
+ ./genemake || die "problem creating Makefile"
+}
+
+src_compile() {
+ cd src
+ emake || die "compile problem"
+}
+
+src_install() {
+ dodoc README.TXT doc/*.txt
+ cd src
+ emake install DESTDIR=${D} || die
+}