From a167557f3d42c51a88d97c95869d2f25d417eaa8 Mon Sep 17 00:00:00 2001 From: sibel Date: Sat, 26 Feb 2011 11:01:00 +0100 Subject: libpcap, maj 1.1.1-1 --- base/libpcap/Pkgfile | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'base/libpcap/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2