milis/talimatname/genel/l/libpcap/talimat

20 lines
586 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: Kullanıcı düzeyinde paket yakalamak için sistemden bağımsız bir arayüz
# URL: http://www.tcpdump.org
# Paketçi: milisarge
# Gerekler: libnl libusb
isim=libpcap
surum=1.7.4
devir=1
kaynak=(http://www.tcpdump.org/release/$isim-$surum.tar.gz
http://www.linuxfromscratch.org/patches/downloads/libpcap/$isim-$surum-enable_bluetooth-1.patch)
derle() {
cd $isim-$surum
patch -Np1 -i ../libpcap-$surum-enable_bluetooth-1.patch
./configure --prefix=/usr --enable-ipv6
make
sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
make DESTDIR=$PKG install
}