diff options
Diffstat (limited to 'net-libs/libnet/libnet-1.0.2a-r2.ebuild')
-rw-r--r-- | net-libs/libnet/libnet-1.0.2a-r2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-libs/libnet/libnet-1.0.2a-r2.ebuild b/net-libs/libnet/libnet-1.0.2a-r2.ebuild new file mode 100644 index 000000000000..358a5e5098bb --- /dev/null +++ b/net-libs/libnet/libnet-1.0.2a-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.0.2a-r2.ebuild,v 1.13 2003/12/16 18:52:26 weeve Exp $ + +S=${WORKDIR}/Libnet-1.0.2a +DESCRIPTION="library to provide an API for commonly used low-level network +functions (mainly packet injection). Used by packet scrubbers and the like, +not to be confused with the perl libnet" +SRC_URI="http://www.packetfactory.net/${PN}/dist/${PN}.tar.gz" +HOMEPAGE="http://www.packetfactory.net/${PN}/" + +DEPEND="" + +LICENSE="LGPL-2" +SLOT="1.0" +KEYWORDS="sparc" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/libnet-gcc33-fix +} + +src_compile() { + econf || die + emake CFLAGS="${CFLAGS}" || die "Failed to compile" +} + +src_install () { + einstall \ + MAN_PREFIX=${D}/usr/share/man/man3 || die + + dodoc VERSION doc/{README,TODO*,CHANGELOG*,COPYING} + newdoc README README.1st + docinto example ; dodoc example/libnet* + docinto Ancillary ; dodoc doc/Ancillary/* +} |