wok view duc/receipt @ rev 21062
Add duc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 11:18:57 2019 +0100 (2019-03-14) |
parents | |
children | 290cd00c886d |
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=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://duc.zevv.nl/"
11 WGET_URL="https://github.com/zevv/duc/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 }