wok-next annotate 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
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"
al@21020 6 SHORT_DESC="IP Network Monitoring Software"
pascal@17333 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17333 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://pagure.io/iptraf-ng"
al@21020 10
pascal@17333 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21020 12 WGET_URL="https://fedorahosted.org/releases/i/p/$PACKAGE/$TARBALL" # FIXME
pascal@17333 13
al@18937 14 BUILD_DEPENDS="ncurses-dev"
pascal@17333 15
al@21020 16 compile_rules() {
al@21020 17 ./configure \
al@21020 18 --prefix=/usr \
pascal@17333 19 $CONFIGURE_ARGS &&
pascal@17333 20 make &&
al@21020 21 make DESTDIR=$install install
pascal@17333 22 }
pascal@17333 23
al@21020 24 genpkg_rules() {
al@18937 25 mkdir -p $fs/var/log/iptraf-ng
pascal@17333 26 cp -a $install/sbin $fs
al@21020 27 DEPENDS="ncurses"
al@21020 28 PROVIDE="iptraf"
al@21020 29 CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg"
pascal@17333 30 }