wok annotate dfc/receipt @ rev 20273
linux: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 18 17:13:32 2018 +0100 (2018-03-18) |
parents | ce9148142ee8 |
children | a78610b2eb47 |
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@15721 | 10 WEB_SITE="http://projects.gw-computing.net/projects/dfc" |
paul@19378 | 11 WGET_URL="http://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 |