summaryrefslogtreecommitdiffstats
path: root/base/libpcap/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-06 23:47:40 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-06 23:47:40 +0100
commita17151ba35dd5a21fdd23d7a904eb87a3caf90d2 (patch)
tree27c558f11cc1d80ce19fb137350977ebfaf2bbe0 /base/libpcap/Pkgfile
parent453339ac512555b1a454e6b002e5eebabdcebfbf (diff)
downloadnutyx-extra-a17151ba35dd5a21fdd23d7a904eb87a3caf90d2.tar.gz
nutyx-extra-a17151ba35dd5a21fdd23d7a904eb87a3caf90d2.tar.bz2
nutyx-extra-a17151ba35dd5a21fdd23d7a904eb87a3caf90d2.tar.xz
nutyx-extra-a17151ba35dd5a21fdd23d7a904eb87a3caf90d2.zip
libpcap, déplacé dans base
Diffstat (limited to 'base/libpcap/Pkgfile')
-rw-r--r--base/libpcap/Pkgfile21
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
+}