wok view duc/receipt @ rev 24534

updated faac and faac-dev (1.29.9.2 -> 1.30)
author Hans-G?nter Theisgen
date Wed Feb 23 11:28:45 2022 +0100 (2022-02-23)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="duc"
4 VERSION="1.4.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Tools for inspecting and visualizing disk usage"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/zevv/duc"
11 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
13 DEPENDS="ncursesw pango tokyocabinet"
14 BUILD_DEPENDS="ncursesw-dev pango-dev tokyocabinet-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/rele*} 2>/dev/null | \
19 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|ncursesw/ncurses.h|ncurses.h|' src/duc/cmd-ui.c
26 ./configure --prefix=/usr \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }