wok-6.x annotate pktstat/receipt @ rev 7829
Add pktstat
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 26 20:10:04 2010 +0000 (2010-12-26) |
parents | |
children | 526614c5acc6 |
rev | line source |
---|---|
paul@7829 | 1 # SliTaz package receipt. |
paul@7829 | 2 |
paul@7829 | 3 PACKAGE="pktstat" |
paul@7829 | 4 VERSION="1.8.4" |
paul@7829 | 5 CATEGORY="network" |
paul@7829 | 6 SHORT_DESC="Top-like utility for network connections usage." |
paul@7829 | 7 MAINTAINER="paul@slitaz.org" |
paul@7829 | 8 DEPENDS="ncurses libpcap" |
paul@7829 | 9 BUILD_DEPENDS="ncurses-dev libpcap-dev" |
paul@7829 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@7829 | 11 WEB_SITE="http://www.sfr-fresh.com/unix/privat/pktstat-1.8.4.tar.gz/" |
paul@7829 | 12 WGET_URL="http://www.sfr-fresh.com/unix/privat/$TARBALL" |
paul@7829 | 13 |
paul@7829 | 14 # Rules to configure and make the package. |
paul@7829 | 15 compile_rules() |
paul@7829 | 16 { |
paul@7829 | 17 cd $src |
paul@7829 | 18 ./configure \ |
paul@7829 | 19 --prefix=/usr \ |
paul@7829 | 20 --infodir=/usr/share/info \ |
paul@7829 | 21 --mandir=/usr/share/man \ |
paul@7829 | 22 $CONFIGURE_ARGS && |
paul@7829 | 23 make && make DESTDIR=$PWD/_pkg install |
paul@7829 | 24 } |
paul@7829 | 25 |
paul@7829 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7829 | 27 genpkg_rules() |
paul@7829 | 28 { |
paul@7829 | 29 mkdir -p $fs/usr |
paul@7829 | 30 cp -a $_pkg/usr/bin $fs/usr |
paul@7829 | 31 } |
paul@7829 | 32 |