wok-current view dfc/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | 544e47246b33 |
children | 00e3b45c063b |
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"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev cmake gettext"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/rolinh/dfc/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cmake . \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 -DSYSCONF_INSTALL_DIR=/etc
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share $fs/etc
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/doc $fs/usr/share
40 cp -a $install/usr/share/locale $fs/usr/share
41 cp -a $install/usr/etc/* $fs/etc
42 }