wok-undigest rev 1035

Add dfc
author Paul Issott <paul@slitaz.org>
date Sat Oct 12 08:31:28 2013 +0100 (2013-10-12)
parents a760fdf0dfce
children 55316faf7b51
files dfc/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dfc/receipt	Sat Oct 12 08:31:28 2013 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dfc"
     1.7 +VERSION="3.0.4"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Displays file system space usage using graphs and colors."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="ncurses"
    1.12 +BUILD_DEPENDS="ncurses-dev cmake gettext"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://projects.gw-computing.net/projects/dfc"
    1.15 +WGET_URL="http://projects.gw-computing.net/attachments/download/79/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	cmake . -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc
    1.22 +	make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/share $fs/etc
    1.29 +	cp -a $install/usr/bin $fs/usr
    1.30 +	cp -a $install/usr/share/doc $fs/usr/share
    1.31 +	cp -a $install/usr/share/locale $fs/usr/share
    1.32 +	cp -a $install/usr/etc/* $fs/etc
    1.33 +}
    1.34 +