wok-6.x view dfc/receipt @ rev 24683
updated jack-audio-connection-kit and jack-audio-connection-kit-dev (0.125.0 -> 1.9.20)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 10:39:47 2022 +0100 (2022-03-12) |
parents | e117b5db3188 |
children | eec3edc6ef52 |
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 # 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 }