wok-6.x annotate tcpdump/receipt @ rev 5917
Up busybox (1.17.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 28 11:45:40 2010 +0200 (2010-07-28) |
parents | 3e397378bee1 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
sdaigl@48 | 1 # SliTaz package receipt. |
sdaigl@48 | 2 |
sdaigl@48 | 3 PACKAGE="tcpdump" |
sdaigl@48 | 4 VERSION="3.9.8" |
sdaigl@48 | 5 CATEGORY="security" |
sdaigl@48 | 6 SHORT_DESC="cli wire sniffer" |
pankso@169 | 7 DEPENDS="libcrypto openssl " |
pankso@117 | 8 BUILD_DEPENDS="libpcap" |
pascal@1065 | 9 MAINTAINER="sdaigl@lacitec.on.ca" |
sdaigl@48 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@169 | 11 WEB_SITE="http://www.tcpdump.org/" |
pankso@169 | 12 WGET_URL="http://www.tcpdump.org/release/$TARBALL" |
jozee@4973 | 13 TAGS="network security" |
sdaigl@48 | 14 |
sdaigl@48 | 15 # Rules to configure and make the package. |
sdaigl@48 | 16 compile_rules() |
sdaigl@48 | 17 { |
pankso@169 | 18 cd $src |
pankso@169 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@169 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@169 | 21 make |
pankso@169 | 22 make DESTDIR=$PWD/_pkg install |
sdaigl@48 | 23 } |
sdaigl@48 | 24 |
sdaigl@48 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 26 genpkg_rules() |
sdaigl@48 | 27 { |
pankso@169 | 28 mkdir -p $fs/usr |
pankso@169 | 29 cp -a $_pkg/usr/sbin $fs/usr |
pankso@169 | 30 strip -s $fs/usr/sbin/* |
sdaigl@48 | 31 } |