wok-next annotate tcpreplay/receipt @ rev 18245
Add tazpanel-extra
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 31 23:33:17 2015 +0200 (2015-07-31) |
parents | ed84ab5cee6b |
children | 99196848027e |
rev | line source |
---|---|
pascal@13982 | 1 # SliTaz package receipt. |
pascal@13982 | 2 |
pascal@13982 | 3 PACKAGE="tcpreplay" |
pascal@13982 | 4 VERSION="3.4.4" |
pascal@13982 | 5 CATEGORY="network" |
pascal@13982 | 6 SHORT_DESC="Test network with libpcap captured traffic." |
pascal@13982 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="BSD" |
pascal@13982 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13982 | 10 WEB_SITE="http://tcpreplay.synfin.net/" |
pascal@13982 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13982 | 12 |
pascal@13990 | 13 DEPENDS="libdnet" |
pascal@13982 | 14 BUILD_DEPENDS="libpcap-dev libdnet-dev tcpdump" |
pascal@13982 | 15 |
pascal@13982 | 16 # Rules to configure and make the package. |
pascal@13982 | 17 compile_rules() |
pascal@13982 | 18 { |
pascal@13982 | 19 cd $src |
pascal@13982 | 20 ./configure \ |
pascal@13982 | 21 $CONFIGURE_ARGS && |
pascal@13982 | 22 make && |
pascal@13982 | 23 make DESTDIR=$DESTDIR install |
pascal@13982 | 24 } |
pascal@13982 | 25 |
pascal@13982 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13982 | 27 genpkg_rules() |
pascal@13982 | 28 { |
pascal@13982 | 29 mkdir -p $fs/usr |
pascal@13982 | 30 cp -a $install/usr/bin $fs/usr |
pascal@13982 | 31 } |