blob: 2d9966eb12de3b6a3c1b29b2e87012ce1b0129f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2002 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.2 2002/10/04 06:06:05 vapier 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.packefactory.net/${PN}/"
DEPEND=""
SLOT="1.0"
LICENSE="LGPL-2"
KEYWORDS="x86 ppc sparc sparc64"
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/*
}
|