wok view duc/receipt @ rev 21709

ccid: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 08 10:39:23 2019 +0200 (2019-06-08)
parents 0892cf0e2c91
children 53c1379e13fa
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://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 }