wok-next diff iptraf-ng/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 6c12ac1293fc |
children |
line diff
1.1 --- a/iptraf-ng/receipt Mon Oct 16 13:38:21 2017 +0200 1.2 +++ b/iptraf-ng/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -3,30 +3,28 @@ 1.4 PACKAGE="iptraf-ng" 1.5 VERSION="1.1.4" 1.6 CATEGORY="network" 1.7 -SHORT_DESC="IP Network Monitoring Software." 1.8 +SHORT_DESC="IP Network Monitoring Software" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 +WEB_SITE="https://pagure.io/iptraf-ng" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 -WEB_SITE="https://fedorahosted.org/iptraf-ng/" 1.15 -WGET_URL="https://fedorahosted.org/releases/i/p/$PACKAGE/$TARBALL" 1.16 -CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg" 1.17 -PROVIDE="iptraf" 1.18 +WGET_URL="https://fedorahosted.org/releases/i/p/$PACKAGE/$TARBALL" # FIXME 1.19 1.20 -DEPENDS="ncurses" 1.21 BUILD_DEPENDS="ncurses-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - ./configure --prefix=/usr \ 1.27 +compile_rules() { 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 $CONFIGURE_ARGS && 1.31 make && 1.32 - make DESTDIR=$DESTDIR install 1.33 + make DESTDIR=$install install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 +genpkg_rules() { 1.40 mkdir -p $fs/var/log/iptraf-ng 1.41 cp -a $install/sbin $fs 1.42 + DEPENDS="ncurses" 1.43 + PROVIDE="iptraf" 1.44 + CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg" 1.45 }