1 # Description: Packet capture library
2 # URL: http://www.tcpdump.org
3 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4 # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5 # Depends on: bison flex
10 source=(http://www.tcpdump.org/release/$name-$version.tar.gz)
14 install -d $PKG/usr/bin
15 sed -i '/ln [^-][^s]/s/ln/ln -s/' Makefile.in
16 echo "ac_cv_linux_vers=2" > config.cache
17 ./configure --build=$CHOST \
22 --cache-file=config.cache
24 make DESTDIR=$PKG install install-shared
25 ln -s $name.so.$version $PKG/usr/lib/$name.so.1
26 ln -s $name.so.$version $PKG/usr/lib/$name.so