milis/talimatname/genel/l/libnet/talimat

22 lines
527 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Ağ paketleri inşa etmek ve enjekte etmek için kütüphane.
# URL: http://libnet-dev.sf.net
# Paketçi: milisarge
# Gerekler:
# Grup: kütüphane
isim=libnet
surum=1.1.6
devir=2
kaynak=(http://downloads.sourceforge.net/project/libnet-dev/libnet-$surum.tar.gz)
derle() {
cd $isim-$surum
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
}