wok-current rev 17333

Add iptraf-ng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 05 15:07:39 2014 +0100 (2014-11-05)
parents 6d04a1dcf69f
children 10d0f1cbf852
files iptraf-ng/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/iptraf-ng/receipt	Wed Nov 05 15:07:39 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="iptraf-ng"
     1.7 +VERSION="1.1.4"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="IP Network Monitoring Software."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://fedorahosted.org/iptraf-ng/"
    1.14 +WGET_URL="https://fedorahosted.org/releases/i/p/$PACKAGE/$TARBALL"
    1.15 +PROVIDE="iptraf"
    1.16 +
    1.17 +DEPENDS="ncursesw"
    1.18 +BUILD_DEPENDS="ncurses-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure --prefix=/usr \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/sbin $fs
    1.33 +}