wok-next view tcpdump/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 523cce42deab
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tcpdump"
4 VERSION="4.9.2"
5 CATEGORY="security"
6 SHORT_DESC="Powerful command-line packet analyzer"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.tcpdump.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
14 BUILD_DEPENDS="libpcap-dev openssl-dev libcap-ng-dev"
16 compile_rules() {
17 ./configure \
18 --with-system-libpcap \
19 --with-crypto \
20 --with-cap-ng \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install || return 1
25 find $install -type f -name "tcpdump.$VERSION" -delete # the same as un-suffixed one
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="libcap-ng libpcap openssl"
31 TAGS="network security"
32 }