wok-current view dfc/receipt @ rev 22711

exempi: add bin/exempi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 22 11:18:51 2020 +0100 (2020-01-22)
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 }