wok-current view dfc/receipt @ rev 21732

puzzles: 20190419 replaced by 20190415
author Hans-G?nter Theisgen
date Thu Jun 13 13:21:25 2019 +0100 (2019-06-13)
parents a78610b2eb47
children 544e47246b33
line source
1 # SliTaz package receipt.
3 PACKAGE="dfc"
4 VERSION="3.1.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Displays file system space usage using graphs and colors."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://projects.gw-computing.net/projects/dfc"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://projects.gw-computing.net/attachments/download/615/$TARBALL"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev cmake gettext"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cmake . \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DSYSCONF_INSTALL_DIR=/etc
23 make &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share $fs/etc
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/doc $fs/usr/share
33 cp -a $install/usr/share/locale $fs/usr/share
34 cp -a $install/usr/etc/* $fs/etc
35 }