wok view tcpreplay/receipt @ rev 14117

dnsmasq: add DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 25 17:17:17 2013 +0100 (2013-02-25)
parents 8aafda70380c
children de49f29b101e
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpreplay"
4 VERSION="3.4.4"
5 CATEGORY="network"
6 SHORT_DESC="Test network with libpcap captured traffic."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://tcpreplay.synfin.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libdnet"
13 BUILD_DEPENDS="libpcap-dev libdnet-dev tcpdump"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }