wok-next diff ncdu/receipt @ rev 20674

Up putty (0.70)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 12 05:17:48 2018 +0300 (2018-05-12)
parents 6c12ac1293fc
children d5aab818505e
line diff
     1.1 --- a/ncdu/receipt	Mon Oct 16 13:38:21 2017 +0200
     1.2 +++ b/ncdu/receipt	Sat May 12 05:17:48 2018 +0300
     1.3 @@ -1,22 +1,19 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ncdu"
     1.8  VERSION="1.12"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="NCurses Disk Usage."
    1.11 +SHORT_DESC="NCurses Disk Usage"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://dev.yorhel.nl/ncdu"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://dev.yorhel.nl/ncdu"
    1.18  WGET_URL="https://dev.yorhel.nl/download/$TARBALL"
    1.19  
    1.20 -DEPENDS="ncurses"
    1.21 -BUILD_DEPENDS="ncurses-dev wget"
    1.22 +BUILD_DEPENDS="ncurses-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 +compile_rules() {
    1.29  	./configure \
    1.30  		--prefix=/usr \
    1.31  		--infodir=/usr/share/info \
    1.32 @@ -25,10 +22,7 @@
    1.33  	make && make install
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	mkdir -p $fs/usr
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43 +	DEPENDS="ncurses"
    1.44  }
    1.45 -