wok annotate dfc/receipt @ rev 24336
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 28 18:19:21 2022 +0000 (2022-01-28) |
parents | a78610b2eb47 |
children | 544e47246b33 |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="dfc" |
Hans-G?nter@20823 | 4 VERSION="3.1.1" |
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" |
Hans-G?nter@20823 | 9 WEB_SITE="https://projects.gw-computing.net/projects/dfc" |
Hans-G?nter@20823 | 10 |
pascal@15721 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20823 | 12 WGET_URL="https://projects.gw-computing.net/attachments/download/615/$TARBALL" |
pascal@15721 | 13 |
pascal@15721 | 14 DEPENDS="ncurses" |
pascal@15721 | 15 BUILD_DEPENDS="ncurses-dev cmake gettext" |
pascal@15721 | 16 |
pascal@15721 | 17 # Rules to configure and make the package. |
pascal@15721 | 18 compile_rules() |
pascal@15721 | 19 { |
Hans-G?nter@20823 | 20 cmake . \ |
Hans-G?nter@20823 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@20823 | 22 -DSYSCONF_INSTALL_DIR=/etc |
Hans-G?nter@20823 | 23 make && |
Hans-G?nter@20823 | 24 make install |
pascal@15721 | 25 } |
pascal@15721 | 26 |
pascal@15721 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 28 genpkg_rules() |
pascal@15721 | 29 { |
pascal@15721 | 30 mkdir -p $fs/usr/share $fs/etc |
pascal@15721 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15721 | 32 cp -a $install/usr/share/doc $fs/usr/share |
pascal@15721 | 33 cp -a $install/usr/share/locale $fs/usr/share |
pascal@15721 | 34 cp -a $install/usr/etc/* $fs/etc |
pascal@15721 | 35 } |