# 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
}