wok-current view duc/receipt @ rev 22829

nqc obfsproxy shiki-colors* trickle vmware-view-open-client: normalize $VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 11:00:21 2020 +0100 (2020-02-08)
parents 290cd00c886d
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|ncursesw/ncurses.h|ncurses.h|' src/duc/cmd-ui.c
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }