wok-6.x view ncdu/receipt @ rev 19435

zerobin: add download button
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 04 15:33:49 2016 +0200 (2016-10-04)
parents 81ff44a16feb
children 2e46d946d7a8
line source
1 # SliTaz package receipt.
3 PACKAGE="ncdu"
4 VERSION="1.12"
5 CATEGORY="utilities"
6 SHORT_DESC="NCurses Disk Usage."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://dev.yorhel.nl/ncdu"
11 WGET_URL="https://dev.yorhel.nl/download/$TARBALL"
13 DEPENDS="ncurses ncursesw"
14 BUILD_DEPENDS="ncurses-dev wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }