wok annotate pktstat/receipt @ rev 15480
memtest: default setup size = 4
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 11:19:32 2013 +0000 (2013-11-10) |
parents | 526614c5acc6 |
children | 3ba8d2c9720d |
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" |
paul@13920 | 10 WEB_SITE="http://www.adaptive-enterprises.com.au/~d/software/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 |
paul@7829 | 16 # Rules to configure and make the package. |
paul@7829 | 17 compile_rules() |
paul@7829 | 18 { |
paul@7829 | 19 cd $src |
paul@7829 | 20 ./configure \ |
paul@7829 | 21 --prefix=/usr \ |
paul@7829 | 22 --infodir=/usr/share/info \ |
paul@7829 | 23 --mandir=/usr/share/man \ |
paul@7829 | 24 $CONFIGURE_ARGS && |
paul@13920 | 25 make && make DESTDIR=$DESTDIR install |
paul@7829 | 26 } |
paul@7829 | 27 |
paul@7829 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7829 | 29 genpkg_rules() |
paul@7829 | 30 { |
paul@7829 | 31 mkdir -p $fs/usr |
paul@13920 | 32 cp -a $install/usr/bin $fs/usr |
paul@7829 | 33 } |
paul@7829 | 34 |