wok-next diff bwm-ng/receipt @ rev 21491

updated apr again (1.6.5 -> 1.7.0)
author Hans-G?nter Theisgen
date Thu Jun 18 17:26:09 2020 +0100 (2020-06-18)
parents f463de72afe3
children 0b4deaef0fcc
line diff
     1.1 --- a/bwm-ng/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/bwm-ng/receipt	Thu Jun 18 17:26:09 2020 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="bwm-ng"
     1.8  VERSION="0.6.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Bandwidth Monitor NG."
    1.11 +SHORT_DESC="Bandwidth Monitor NG"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://www.gropp.org/?id=projects&sub=bwm-ng"
    1.15 @@ -11,17 +11,17 @@
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://www.gropp.org/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="ncurses"
    1.20  BUILD_DEPENDS="ncurses-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	./configure $CONFIGURE_ARGS && make && make install
    1.26 +compile_rules() {
    1.27 +	./configure $CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	make install || return 1
    1.30 +
    1.31 +	cook_pick_docs README
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	copy bin/
    1.38 +genpkg_rules() {
    1.39 +	copy @std
    1.40 +	DEPENDS="ncurses"
    1.41  }