wok-6.x annotate tcpdump/receipt @ rev 15597
Update some bdeps with pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 11:43:50 2013 +0000 (2013-12-05) |
parents | c7810eb60fd9 |
children | 2448da3bb9c5 |
rev | line source |
---|---|
sdaigl@48 | 1 # SliTaz package receipt. |
sdaigl@48 | 2 |
sdaigl@48 | 3 PACKAGE="tcpdump" |
pascal@15324 | 4 VERSION="4.4.0" |
sdaigl@48 | 5 CATEGORY="security" |
sdaigl@48 | 6 SHORT_DESC="cli wire sniffer" |
pascal@1065 | 7 MAINTAINER="sdaigl@lacitec.on.ca" |
pascal@15133 | 8 LICENSE="BSD" |
sdaigl@48 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@169 | 10 WEB_SITE="http://www.tcpdump.org/" |
pankso@169 | 11 WGET_URL="http://www.tcpdump.org/release/$TARBALL" |
jozee@4973 | 12 TAGS="network security" |
sdaigl@48 | 13 |
pascal@11279 | 14 DEPENDS="libcrypto openssl libpcap" |
pascal@15325 | 15 BUILD_DEPENDS="libpcap libpcap-dev openssl-dev" |
pascal@10460 | 16 |
sdaigl@48 | 17 # Rules to configure and make the package. |
sdaigl@48 | 18 compile_rules() |
sdaigl@48 | 19 { |
pankso@169 | 20 cd $src |
pankso@169 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@169 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@169 | 23 make |
pascal@15133 | 24 make DESTDIR=$DESTDIR install |
sdaigl@48 | 25 } |
sdaigl@48 | 26 |
sdaigl@48 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 28 genpkg_rules() |
sdaigl@48 | 29 { |
pankso@169 | 30 mkdir -p $fs/usr |
pascal@15133 | 31 cp -a $install/usr/sbin $fs/usr |
sdaigl@48 | 32 } |