wok-6.x annotate pktstat/receipt @ rev 24330
updated atftp and atftpd (0.7.2 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 15:48:06 2022 +0100 (2022-01-27) |
parents | 6135577f4d08 |
children | 1805f71c5d9f |
rev | line source |
---|---|
paul@7829 | 1 # SliTaz package receipt. |
paul@7829 | 2 |
paul@7829 | 3 PACKAGE="pktstat" |
paul@13920 | 4 VERSION="1.8.5" |
paul@7829 | 5 CATEGORY="network" |
paul@13920 | 6 SHORT_DESC="Real-time interface traffic viewer for ncurses." |
paul@7829 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15023 | 8 LICENSE="PublicDomain" |
paul@7829 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20679 | 10 WEB_SITE="https://github.com/dleonard0/pktstat" |
paul@13920 | 11 WGET_URL="http://www.adaptive-enterprises.com.au/~d/software/pktstat/$TARBALL" |
paul@7829 | 12 |
pascal@15023 | 13 DEPENDS="ncurses libpcap" |
pascal@15023 | 14 BUILD_DEPENDS="ncurses-dev libpcap-dev" |
pascal@15023 | 15 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24308 | 19 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
paul@7829 | 23 # Rules to configure and make the package. |
paul@7829 | 24 compile_rules() |
paul@7829 | 25 { |
pascal@17672 | 26 export LDFLAGS="$LDFLAGS -ltinfo" |
paul@7829 | 27 ./configure \ |
paul@7829 | 28 --prefix=/usr \ |
paul@7829 | 29 --infodir=/usr/share/info \ |
paul@7829 | 30 --mandir=/usr/share/man \ |
paul@7829 | 31 $CONFIGURE_ARGS && |
paul@13920 | 32 make && make DESTDIR=$DESTDIR install |
paul@7829 | 33 } |
paul@7829 | 34 |
paul@7829 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7829 | 36 genpkg_rules() |
paul@7829 | 37 { |
paul@7829 | 38 mkdir -p $fs/usr |
paul@13920 | 39 cp -a $install/usr/bin $fs/usr |
paul@7829 | 40 } |