milis/talimatname/genel/l/libnet/talimat

21 lines
522 B
Plaintext
Raw Normal View History

2017-03-31 08:54:02 +02:00
# Description: Ağ paketleri inşa etmek ve enjekte etmek için kütüphane.
# 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
}