blob: cec0216c307be0d2065df85a756416afce564af8 (
plain)
1 # Description: Library for constructing and injecting network packets
2 # URL: http://www.packetfactory.net/libnet/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Depends on:
5
6 name=libnet
7 version=1.1.2.1
8 release=2
9 source=(ftp://ftp.eenet.ee/pub/FreeBSD/distfiles/$name-$version.tar.gz)
10
11 build() {
12 cd $name
13 export CFLAGS=$CFLAGS" -fPIC"
14
15 ./configure --prefix=/usr
16 sed -i 's/ sample//g' Makefile
17 make
18 make DESTDIR=$PKG install
19 install -D -m 755 libnet-config $PKG/usr/bin/libnet-config
20 }
|