wok-next diff dfc/receipt @ rev 21268

updated frogatto (1.3.1 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Dec 06 17:30:20 2019 +0100 (2019-12-06)
parents a3c581bf52b8
children f2b6c26b0f7f
line diff
     1.1 --- a/dfc/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/dfc/receipt	Fri Dec 06 17:30:20 2019 +0100
     1.3 @@ -1,33 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="dfc"
     1.8  VERSION="3.0.5"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Displays file system space usage using graphs and colors."
    1.11 +SHORT_DESC="Displays file system space usage using graphs and colors"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 +WEB_SITE="https://projects.gw-computing.net/projects/dfc"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://projects.gw-computing.net/projects/dfc"
    1.18  WGET_URL="https://projects.gw-computing.net/attachments/download/467/$TARBALL"
    1.19  
    1.20 -DEPENDS="ncurses"
    1.21 -BUILD_DEPENDS="ncurses-dev cmake gettext"
    1.22 +BUILD_DEPENDS="ncurses-dev cmake gettext-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	cmake . -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc
    1.29 -	make && make install
    1.30 +compile_rules() {
    1.31 +	cmake \
    1.32 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.33 +		-DSYSCONF_INSTALL_DIR=/etc \
    1.34 +		. &&
    1.35 +	make &&
    1.36 +	make install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/share $fs/etc
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/usr/share/doc $fs/usr/share
    1.45 -	cp -a $install/usr/share/locale $fs/usr/share
    1.46 -	cp -a $install/usr/etc/* $fs/etc
    1.47 +genpkg_rules() {
    1.48 +	copy @std
    1.49 +	DEPENDS="ncurses"
    1.50  }
    1.51 -