diff options
author | sibelle <lesibel@free.fr> | 2010-02-07 07:53:27 +0100 |
---|---|---|
committer | sibelle <lesibel@free.fr> | 2010-02-07 07:53:27 +0100 |
commit | 8bd84b0edf380f00244be29090ce68f8b34456cc (patch) | |
tree | fba27cbe07e4774fcdd6443dead12a468d004c0e /base/libpcap/Pkgfile | |
parent | 53bff858c3ef02bf7ba9ee0e247488fc54f7c42e (diff) | |
parent | 5bd127c0743239bc774481e4a7b947719c984f5d (diff) | |
download | nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.gz nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.bz2 nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.xz nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.zip |
Merge remote branch 'nutyx-2009/master'
Diffstat (limited to 'base/libpcap/Pkgfile')
-rw-r--r-- | base/libpcap/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/base/libpcap/Pkgfile b/base/libpcap/Pkgfile new file mode 100644 index 000000000..c859ef511 --- /dev/null +++ b/base/libpcap/Pkgfile @@ -0,0 +1,21 @@ +# 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.0.0 +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 + ./configure --prefix=/usr \ + --mandir=/usr/share/man + 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 +} |