wok-6.x view tcpreplay/receipt @ rev 13982

Add tcpreplay
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 07 17:41:21 2013 +0100 (2013-02-07)
parents
children ed84ab5cee6b
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="libpcap 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 }