wok view duc/receipt @ rev 23951

taziso/bootusbkey: up to 2TB
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 09:52:25 2020 +0000 (2020-09-21)
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 }