wok-6.x view dfc/receipt @ rev 25357
updated tintin++ (2.02.02 -> 2.02.20)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 06:59:00 2022 +0100 (2022-07-27) |
parents | eec3edc6ef52 |
children |
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://github.com/Rolinh/dfc"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="https://projects.gw-computing.net/attachments/download/615/$TARBALL"
13 WGET_URL="http://distcache.freebsd.org/ports-distfiles/$TARBALL"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev cmake gettext"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/rolinh/dfc/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cmake . \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 -DSYSCONF_INSTALL_DIR=/etc
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/etc
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/doc $fs/usr/share
41 cp -a $install/usr/share/locale $fs/usr/share
42 cp -a $install/usr/etc/* $fs/etc
43 }