wok view pktstat/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
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 }