milis/talimatname/genel/libnet/talimat

21 lines
522 B
Plaintext

# Description: Ağ paketleri inşa etmek ve enjekte etmek için kütüphane.
# 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
}