diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /libpcap/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'libpcap/Pkgfile')
-rw-r--r-- | libpcap/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libpcap/Pkgfile b/libpcap/Pkgfile new file mode 100644 index 000000000..2b6f36f8d --- /dev/null +++ b/libpcap/Pkgfile @@ -0,0 +1,30 @@ +# Description: Fourni les fonctions niveau utilisateur pour le fitrage de paquets +# URL: http://www.tcpdump.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch + +name=libpcap +version=1.1.1 +release=1 +source=(http://www.tcpdump.org/release/$name-$version.tar.gz) + +build() { + cd $name-$version + install -d -m755 $PKG/usr/bin +# sed -i '/ln [^-][^s]/s/ln/ln -s/' Makefile.in + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-ipv6 + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/lib/libpcap.a + + # Compatibilité descendante , programme souvent vu comme net/bpf.h + mkdir -p $PKG/usr/include/net + cd $PKG/usr/include/net + ln -s ../pcap-bpf.h bpf.h + +# install-shared +# ln -s $name.so.$version $PKG/usr/lib/$name.so.1 +# ln -s $name.so.$version $PKG/usr/lib/$name.so +} |