wok-6.x view dfc/receipt @ rev 22859
updated gnaughty (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 20 14:50:56 2020 +0100 (2020-02-20) |
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 }