wok-next view tcpdump/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
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 }