diff options
author | sibel <lesibel@free.fr> | 2011-02-26 11:01:00 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-02-26 11:01:00 +0100 |
commit | a167557f3d42c51a88d97c95869d2f25d417eaa8 (patch) | |
tree | 8c8a7ed00133d8633c7da66880e89f0c32984f78 /base/libpcap/Pkgfile | |
parent | 1b7645aa9e79f0ef39917b6c9d07b40fb07153e8 (diff) | |
download | nutyx-pakxe-a167557f3d42c51a88d97c95869d2f25d417eaa8.tar.gz nutyx-pakxe-a167557f3d42c51a88d97c95869d2f25d417eaa8.tar.bz2 nutyx-pakxe-a167557f3d42c51a88d97c95869d2f25d417eaa8.tar.xz nutyx-pakxe-a167557f3d42c51a88d97c95869d2f25d417eaa8.zip |
libpcap, maj 1.1.1-1
Diffstat (limited to 'base/libpcap/Pkgfile')
-rw-r--r-- | base/libpcap/Pkgfile | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/base/libpcap/Pkgfile b/base/libpcap/Pkgfile index c859ef511..2b6f36f8d 100644 --- a/base/libpcap/Pkgfile +++ b/base/libpcap/Pkgfile @@ -4,18 +4,27 @@ # Packager: thierryn1 at hispeed dot ch name=libpcap -version=1.0.0 +version=1.1.1 release=1 source=(http://www.tcpdump.org/release/$name-$version.tar.gz) build() { cd $name-$version - install -d $PKG/usr/bin - sed -i '/ln [^-][^s]/s/ln/ln -s/' Makefile.in + install -d -m755 $PKG/usr/bin +# sed -i '/ln [^-][^s]/s/ln/ln -s/' Makefile.in ./configure --prefix=/usr \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + --enable-ipv6 make - make DESTDIR=$PKG install install-shared - ln -s $name.so.$version $PKG/usr/lib/$name.so.1 - ln -s $name.so.$version $PKG/usr/lib/$name.so + 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 } |