wok-current diff dfc/receipt @ rev 16016
mpd: add to ARM arch (Music Box for the Rpi and Co)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 05 03:33:57 2014 +0100 (2014-03-05) |
parents | |
children | 1dc665e06c3e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dfc/receipt Wed Mar 05 03:33:57 2014 +0100 1.3 @@ -0,0 +1,33 @@ 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 +LICENSE="BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://projects.gw-computing.net/projects/dfc" 1.14 +WGET_URL="http://projects.gw-computing.net/attachments/download/79/$TARBALL" 1.15 + 1.16 +DEPENDS="ncurses" 1.17 +BUILD_DEPENDS="ncurses-dev cmake gettext" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc 1.24 + make && make install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/share $fs/etc 1.31 + cp -a $install/usr/bin $fs/usr 1.32 + cp -a $install/usr/share/doc $fs/usr/share 1.33 + cp -a $install/usr/share/locale $fs/usr/share 1.34 + cp -a $install/usr/etc/* $fs/etc 1.35 +} 1.36 +