wok annotate duc/receipt @ rev 21583

Up ffserver (4.1.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 20:44:36 2019 +0200 (2019-05-19)
parents 0892cf0e2c91
children 53c1379e13fa
rev   line source
pascal@21062 1 # SliTaz package receipt.
pascal@21062 2
pascal@21062 3 PACKAGE="duc"
pascal@21062 4 VERSION="1.4.4"
pascal@21062 5 CATEGORY="base-system"
pascal@21062 6 SHORT_DESC="Tools for inspecting and visualizing disk usage"
pascal@21062 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21063 8 LICENSE="LGPL3"
pascal@21062 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@21062 10 WEB_SITE="https://duc.zevv.nl/"
pascal@21062 11 WGET_URL="https://github.com/zevv/duc/releases/download/$VERSION/$TARBALL"
pascal@21062 12
pascal@21062 13 DEPENDS="ncursesw pango tokyocabinet"
pascal@21062 14 BUILD_DEPENDS="ncursesw-dev pango-dev tokyocabinet-dev"
pascal@21062 15
pascal@21062 16 # Rules to configure and make the package.
pascal@21062 17 compile_rules()
pascal@21062 18 {
pascal@21062 19 sed -i 's|ncursesw/ncurses.h|ncurses.h|' src/duc/cmd-ui.c
pascal@21062 20 ./configure --prefix=/usr \
pascal@21062 21 --mandir=/usr/share/man \
pascal@21062 22 $CONFIGURE_ARGS &&
pascal@21062 23 make &&
pascal@21062 24 make DESTDIR=$DESTDIR install
pascal@21062 25 }
pascal@21062 26
pascal@21062 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21062 28 genpkg_rules()
pascal@21062 29 {
pascal@21062 30 mkdir -p $fs/usr
pascal@21062 31 cp -a $install/usr/bin $fs/usr
pascal@21062 32 }