wok view dfc/receipt @ rev 20312

Up tazlito (498) uefi support for live cd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 17 10:47:21 2018 +0200 (2018-05-17)
parents ce9148142ee8
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="dfc"
4 VERSION="3.0.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Displays file system space usage using graphs and colors."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://projects.gw-computing.net/projects/dfc"
11 WGET_URL="http://projects.gw-computing.net/attachments/download/467/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev cmake gettext"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share $fs/etc
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/share/doc $fs/usr/share
30 cp -a $install/usr/share/locale $fs/usr/share
31 cp -a $install/usr/etc/* $fs/etc
32 }