wok rev 21062

Add duc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 14 11:18:57 2019 +0100 (2019-03-14)
parents 72b03b7176b7
children 290cd00c886d
files duc/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/duc/receipt	Thu Mar 14 11:18:57 2019 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="duc"
     1.7 +VERSION="1.4.4"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Tools for inspecting and visualizing disk usage"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE=""
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://duc.zevv.nl/"
    1.14 +WGET_URL="https://github.com/zevv/duc/releases/download/$VERSION/$TARBALL"
    1.15 +
    1.16 +DEPENDS="ncursesw pango tokyocabinet"
    1.17 +BUILD_DEPENDS="ncursesw-dev pango-dev tokyocabinet-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	sed -i 's|ncursesw/ncurses.h|ncurses.h|' src/duc/cmd-ui.c
    1.23 +	./configure --prefix=/usr \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +}