wok-current view tcpdump/receipt @ rev 15944

Make lzma cross compile and fix libxml2
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 00:35:49 2014 +0100 (2014-02-23)
parents c7810eb60fd9
children 2448da3bb9c5
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpdump"
4 VERSION="4.4.0"
5 CATEGORY="security"
6 SHORT_DESC="cli wire sniffer"
7 MAINTAINER="sdaigl@lacitec.on.ca"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.tcpdump.org/"
11 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
12 TAGS="network security"
14 DEPENDS="libcrypto openssl libpcap"
15 BUILD_DEPENDS="libpcap libpcap-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS
23 make
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 }