wok-next annotate iptraf-ng/receipt @ rev 19652
Up cookutils(886), slitaz-base-files(328), tazpkg(944), tzdata(2017a); dbus: changes in pre/post-install (fix group number, etc.)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 01 23:29:10 2017 +0200 (2017-03-01) |
parents | f65cd62e9a75 |
children | 6c12ac1293fc |
rev | line source |
---|---|
pascal@17333 | 1 # SliTaz package receipt. |
pascal@17333 | 2 |
pascal@17333 | 3 PACKAGE="iptraf-ng" |
pascal@17333 | 4 VERSION="1.1.4" |
pascal@17333 | 5 CATEGORY="network" |
pascal@17333 | 6 SHORT_DESC="IP Network Monitoring Software." |
pascal@17333 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17333 | 8 LICENSE="GPL2" |
pascal@17333 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17333 | 10 WEB_SITE="https://fedorahosted.org/iptraf-ng/" |
pascal@17333 | 11 WGET_URL="https://fedorahosted.org/releases/i/p/$PACKAGE/$TARBALL" |
al@18937 | 12 CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg" |
pascal@17333 | 13 PROVIDE="iptraf" |
pascal@17333 | 14 |
pascal@17333 | 15 DEPENDS="ncursesw" |
al@18937 | 16 BUILD_DEPENDS="ncurses-dev" |
pascal@17333 | 17 |
pascal@17333 | 18 # Rules to configure and make the package. |
pascal@17333 | 19 compile_rules() |
pascal@17333 | 20 { |
pascal@17333 | 21 ./configure --prefix=/usr \ |
pascal@17333 | 22 $CONFIGURE_ARGS && |
pascal@17333 | 23 make && |
pascal@17333 | 24 make DESTDIR=$DESTDIR install |
pascal@17333 | 25 } |
pascal@17333 | 26 |
pascal@17333 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17333 | 28 genpkg_rules() |
pascal@17333 | 29 { |
al@18937 | 30 mkdir -p $fs/var/log/iptraf-ng |
pascal@17333 | 31 cp -a $install/sbin $fs |
pascal@17333 | 32 } |