wok-4.x annotate tcpdump/receipt @ rev 145
UP : htop (0.7)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 21 23:34:21 2008 +0100 (2008-01-21) |
parents | 447c9fb94189 |
children | b515bb60b101 |
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" |
sdaigl@48 | 7 DEPENDS="openssl" |
pankso@117 | 8 BUILD_DEPENDS="libpcap" |
sdaigl@48 | 9 MAINTAINER="Serge Daigle <sdaigl@lacitec.on.ca>" |
sdaigl@48 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
sdaigl@48 | 11 WEB_SITE="www.tcpdump.org" |
sdaigl@48 | 12 WGET_URL="http://www.tcpdump.org/release/$TARBALL"; |
sdaigl@48 | 13 |
sdaigl@48 | 14 # Rules to configure and make the package. |
sdaigl@48 | 15 compile_rules() |
sdaigl@48 | 16 { |
sdaigl@48 | 17 cd $src |
sdaigl@48 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
sdaigl@48 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
sdaigl@48 | 20 make |
sdaigl@48 | 21 make DESTDIR=$PWD/_pkg install |
sdaigl@48 | 22 } |
sdaigl@48 | 23 |
sdaigl@48 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 25 genpkg_rules() |
sdaigl@48 | 26 { |
sdaigl@48 | 27 mkdir -p $fs/usr |
sdaigl@48 | 28 cp -a $_pkg/usr/sbin $fs/usr |
sdaigl@48 | 29 strip -s $fs/usr/sbin/* |
sdaigl@48 | 30 } |