wok-4.x view tcpdump/receipt @ rev 2426

x11vnc: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 11 11:39:38 2009 +0000 (2009-03-11)
parents b515bb60b101
children 866fa2493b1b
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpdump"
4 VERSION="3.9.8"
5 CATEGORY="security"
6 SHORT_DESC="cli wire sniffer"
7 DEPENDS="libcrypto openssl "
8 BUILD_DEPENDS="libpcap"
9 MAINTAINER="sdaigl@lacitec.on.ca"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.tcpdump.org/"
12 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 strip -s $fs/usr/sbin/*
30 }