summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:17:22 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:17:22 +0200
commit0a52ba0f6f84852c3230b15ced48df9d2cc463f2 (patch)
treefefb2fa18bebf0019b7063edda1c87768e349e4e /extra
parent24f4ed9c14bf0e3963d9e9a86f4670d148b2f19e (diff)
downloadnutyx-pakxe-0a52ba0f6f84852c3230b15ced48df9d2cc463f2.tar.gz
nutyx-pakxe-0a52ba0f6f84852c3230b15ced48df9d2cc463f2.tar.bz2
nutyx-pakxe-0a52ba0f6f84852c3230b15ced48df9d2cc463f2.tar.xz
nutyx-pakxe-0a52ba0f6f84852c3230b15ced48df9d2cc463f2.zip
Ajout de libpcap#1.0.0-1
Diffstat (limited to 'extra')
-rw-r--r--extra/libpcap/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/libpcap/Pkgfile b/extra/libpcap/Pkgfile
new file mode 100644
index 000000000..7660bbd8e
--- /dev/null
+++ b/extra/libpcap/Pkgfile
@@ -0,0 +1,22 @@
+# 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
+# Depends on:
+
+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
+}