wok annotate dfc/receipt @ rev 16837

netsurf: add gperf,expat bdep
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Jul 12 19:39:54 2014 +0300 (2014-07-12)
parents
children 1dc665e06c3e
rev   line source
pascal@15721 1 # SliTaz package receipt.
pascal@15721 2
pascal@15721 3 PACKAGE="dfc"
pascal@15721 4 VERSION="3.0.4"
pascal@15721 5 CATEGORY="utilities"
pascal@15721 6 SHORT_DESC="Displays file system space usage using graphs and colors."
pascal@15721 7 MAINTAINER="paul@slitaz.org"
pascal@15721 8 LICENSE="BSD"
pascal@15721 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15721 10 WEB_SITE="http://projects.gw-computing.net/projects/dfc"
pascal@15721 11 WGET_URL="http://projects.gw-computing.net/attachments/download/79/$TARBALL"
pascal@15721 12
pascal@15721 13 DEPENDS="ncurses"
pascal@15721 14 BUILD_DEPENDS="ncurses-dev cmake gettext"
pascal@15721 15
pascal@15721 16 # Rules to configure and make the package.
pascal@15721 17 compile_rules()
pascal@15721 18 {
pascal@15721 19 cd $src
pascal@15721 20 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc
pascal@15721 21 make && make install
pascal@15721 22 }
pascal@15721 23
pascal@15721 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15721 25 genpkg_rules()
pascal@15721 26 {
pascal@15721 27 mkdir -p $fs/usr/share $fs/etc
pascal@15721 28 cp -a $install/usr/bin $fs/usr
pascal@15721 29 cp -a $install/usr/share/doc $fs/usr/share
pascal@15721 30 cp -a $install/usr/share/locale $fs/usr/share
pascal@15721 31 cp -a $install/usr/etc/* $fs/etc
pascal@15721 32 }
pascal@15721 33