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