milis/talimatname/genel/libnet/talimat

21 lines
523 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Library for constructing and injecting network packets
# URL: http://libnet-dev.sf.net
2016-07-28 12:33:13 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# 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
}