wok-current annotate tcpreplay/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
parents 20661c276bcf
children
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@20682 10 WEB_SITE="http://tcpreplay.appneta.com/"
pascal@13982 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@13982 12
pascal@13990 13 DEPENDS="libdnet"
pascal@19711 14 BUILD_DEPENDS="libpcap-dev libdnet-dev tcpdump libnl1"
pascal@13982 15
pascal@24313 16 # What is the latest version available today?
pascal@24313 17 current_version()
pascal@24313 18 {
pascal@24313 19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
pascal@24313 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24313 21 sed 's| |\n|g' | sed '/^"tcpreplay\//!d;s|^"|https://sourceforge.net/projects/tcpreplay/files/|;s|",||;q' | xargs wget -O - 2>/dev/null | \
pascal@24313 22 sed '/tcpreplay-/!d;/asc/!d;s|.*tcpreplay-||;s|.[zt].*||;s|_|.|g;q'
pascal@24313 23 }
pascal@24313 24
pascal@13982 25 # Rules to configure and make the package.
pascal@13982 26 compile_rules()
pascal@13982 27 {
pascal@13982 28 ./configure \
pascal@13982 29 $CONFIGURE_ARGS &&
pascal@13982 30 make &&
pascal@13982 31 make DESTDIR=$DESTDIR install
pascal@13982 32 }
pascal@13982 33
pascal@13982 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13982 35 genpkg_rules()
pascal@13982 36 {
pascal@13982 37 mkdir -p $fs/usr
pascal@13982 38 cp -a $install/usr/bin $fs/usr
pascal@13982 39 }