wok-6.x view duc/receipt @ rev 24045
memtest,plop: tune lzma compression
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 06 12:50:46 2021 +0000 (2021-05-06) |
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 }