wok-next diff cv/receipt @ rev 21051

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 30 01:34:53 2018 +0200 (2018-11-30)
parents d43bf7aae921
children
line diff
     1.1 --- a/cv/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/cv/receipt	Fri Nov 30 01:34:53 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="cv"
     1.8  VERSION="0.4.1"
     1.9 @@ -6,22 +6,21 @@
    1.10  SHORT_DESC="Linux tool to show progress for cp, rm, dd, ..."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://github.com/Xfennec/progress"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://github.com/Xfennec/cv"
    1.17  WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    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 +compile_rules() {
    1.26  	sed -i 's|/local||' Makefile
    1.27 -	make && make DESTDIR=$DESTDIR install
    1.28 +
    1.29 +	make &&
    1.30 +	make DESTDIR=$install install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	cp -a $install/* $fs/
    1.38 +	DEPENDS="ncurses"
    1.39  }