wok view pktstat/receipt @ rev 7856
ruby: build and package with shared library, added zlib-dev BUILD_DEPENDS.
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Dec 31 08:55:12 2010 +0000 (2010-12-31) |
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 }