wok-next view pktstat/receipt @ rev 19549
Up cacerts (20161124), perl no more need in post_install
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 09 03:40:48 2016 +0200 (2016-12-09) |
parents | 1040bd60b471 |
children | 466bca9334ef |
line source
1 # SliTaz package receipt.
3 PACKAGE="pktstat"
4 VERSION="1.8.5"
5 CATEGORY="network"
6 SHORT_DESC="Real-time interface traffic viewer for ncurses."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.adaptive-enterprises.com.au/~d/software/pktstat/"
11 WGET_URL="http://www.adaptive-enterprises.com.au/~d/software/pktstat/$TARBALL"
13 DEPENDS="ncurses libpcap"
14 BUILD_DEPENDS="ncurses-dev libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }