milis/talimatname/genel/libnet/talimat

21 lines
523 B
Plaintext

# Description: Library for constructing and injecting network packets
# URL: http://libnet-dev.sf.net
# Packager: milisarge
# Depends on:
name=libnet
version=1.1.6
release=2
source=(http://downloads.sourceforge.net/project/libnet-dev/libnet-$version.tar.gz)
build() {
cd $name-$version
export CFLAGS=$CFLAGS" -fPIC"
./configure --prefix=/usr --mandir=/usr/man
sed -i 's/ sample//g' Makefile
make
make DESTDIR=$PKG install
install -D -m 755 libnet-config $PKG/usr/bin/libnet-config
}