contrib/libnet/Pkgfile
2018-11-25 20:11:42 +01:00

20 lines
526 B
Plaintext

# Description: Library for constructing and injecting network packets
# URL: http://libnet-dev.sf.net
# Maintainer: Thomas Penteker, tek at serverop dot de
name=libnet
version=1.2-rc3
release=1
source=(http://downloads.sourceforge.net/project/libnet-dev/libnet-$version.tar.gz)
build() {
cd $name-$version
export CFLAGS=$CFLAGS" -fPIC"
./configure --prefix=/usr
sed -i 's/ sample//g' Makefile
make
make DESTDIR=$PKG install
install -D -m 755 libnet-config $PKG/usr/bin/libnet-config
}