wok annotate tcpdump/receipt @ rev 214

Up: 2.6.24.2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 14 19:08:39 2008 +0100 (2008-02-14)
parents 7ed87c4c202a
children 3e397378bee1
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"
sdaigl@48 9 MAINTAINER="Serge Daigle <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"
sdaigl@48 13
sdaigl@48 14 # Rules to configure and make the package.
sdaigl@48 15 compile_rules()
sdaigl@48 16 {
pankso@169 17 cd $src
pankso@169 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@169 19 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@169 20 make
pankso@169 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 {
pankso@169 27 mkdir -p $fs/usr
pankso@169 28 cp -a $_pkg/usr/sbin $fs/usr
pankso@169 29 strip -s $fs/usr/sbin/*
sdaigl@48 30 }