wok annotate dfc/receipt @ rev 20779

updated cellwriter (1.3.5 -> 1.3.6)
author Hans-G?nter Theisgen
date Thu Feb 14 13:52:33 2019 +0100 (2019-02-14)
parents 1dc665e06c3e
children e117b5db3188
rev   line source
pascal@15721 1 # SliTaz package receipt.
pascal@15721 2
pascal@15721 3 PACKAGE="dfc"
paul@19378 4 VERSION="3.0.5"
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@20669 10 WEB_SITE="https://projects.gw-computing.net/projects/dfc"
pascal@20669 11 WGET_URL="https://projects.gw-computing.net/attachments/download/467/$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