wok-next annotate tcpdump/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 523cce42deab |
children |
rev | line source |
---|---|
al@20861 | 1 # SliTaz package receipt v2. |
sdaigl@48 | 2 |
sdaigl@48 | 3 PACKAGE="tcpdump" |
al@20861 | 4 VERSION="4.9.2" |
sdaigl@48 | 5 CATEGORY="security" |
al@20861 | 6 SHORT_DESC="Powerful command-line packet analyzer" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15133 | 8 LICENSE="BSD" |
al@20861 | 9 WEB_SITE="http://www.tcpdump.org/" |
al@20861 | 10 |
sdaigl@48 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@169 | 12 WGET_URL="http://www.tcpdump.org/release/$TARBALL" |
sdaigl@48 | 13 |
al@20861 | 14 BUILD_DEPENDS="libpcap-dev openssl-dev libcap-ng-dev" |
pascal@10460 | 15 |
al@20861 | 16 compile_rules() { |
al@20861 | 17 ./configure \ |
al@20861 | 18 --with-system-libpcap \ |
al@20861 | 19 --with-crypto \ |
al@20861 | 20 --with-cap-ng \ |
al@20861 | 21 $CONFIGURE_ARGS && |
al@20861 | 22 make && |
al@20861 | 23 make install || return 1 |
al@20861 | 24 |
al@20861 | 25 find $install -type f -name "tcpdump.$VERSION" -delete # the same as un-suffixed one |
sdaigl@48 | 26 } |
sdaigl@48 | 27 |
al@20861 | 28 genpkg_rules() { |
al@20861 | 29 copy @std |
al@20861 | 30 DEPENDS="libcap-ng libpcap openssl" |
al@20861 | 31 TAGS="network security" |
sdaigl@48 | 32 } |