wok view pktstat/receipt @ rev 12701

Add: cross-arm-gcc (ARM cross compiler) Build will fail with cooker since it must be build with --first-pass the first time :-) A cross-arm-toolchain meta packge will follow
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 03 16:25:12 2012 +0200 (2012-05-03)
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 }