1 # Description: Network sniffer with command line interface
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: libpcap openssl
10 source=(http://www.tcpdump.org/release/$name-$version.tar.gz)
14 echo "ac_cv_linux_vers=2" > config.cache
15 ./configure --build=$CHOST \
20 --cache-file=config.cache
21 sed -i 's|\-I/usr/include|\-I$(CLFS)/usr/include|g' Makefile
22 sed -i 's|LDFLAGS = \-L/usr/lib|LDFLAGS = \-L$(CLFS)/usr/lib|g' Makefile
23 sed -i -e '80 d' -e '81 d' -e '82 d' print-enc.c
25 make DESTDIR=$PKG install
26 rm $PKG/usr/sbin/tcpdump.$version