wok-next diff iftopcolor/receipt @ rev 21573

updated dansguardian (2.10.1.1 -> 2.12.0.3)
author Hans-G?nter Theisgen
date Mon Jun 22 17:38:17 2020 +0100 (2020-06-22)
parents 9892830afb57
children
line diff
     1.1 --- a/iftopcolor/receipt	Wed Jul 30 19:55:20 2014 +0100
     1.2 +++ b/iftopcolor/receipt	Mon Jun 22 17:38:17 2020 +0100
     1.3 @@ -1,32 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="iftopcolor"
     1.8  VERSION="20140730"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Added color bars to iftop."
    1.11 +SHORT_DESC="Added color bars to iftop"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://github.com/srix/iftopcolor"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="https://github.com/srix/iftopcolor"
    1.18  WGET_URL="git|git://github.com/srix/iftopcolor"
    1.19  
    1.20 -DEPENDS="libpcap ncurses"
    1.21  BUILD_DEPENDS="libpcap-dev ncurses-dev git bzip2"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 -	./configure --prefix=/usr
    1.28 -	$CONFIGURE_ARGS
    1.29 -	make
    1.30 -	make DESTDIR=$DESTDIR install
    1.31 +compile_rules() {
    1.32 +	./configure $CONFIGURE_ARGS &&
    1.33 +	make &&
    1.34 +	make DESTDIR=$install install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	mkdir -p $fs/usr
    1.41 -	cp -a $install/usr/sbin $fs/usr
    1.42 +genpkg_rules() {
    1.43 +	copy @std
    1.44 +	DEPENDS="libpcap ncurses"
    1.45  }
    1.46 -