wok view ncdu/receipt @ rev 19179

sc-im: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 10:10:15 2016 +0200 (2016-06-04)
parents 23c3aed67cd9
children 34576266dd40
line source
1 # SliTaz package receipt.
3 PACKAGE="ncdu"
4 VERSION="1.10"
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="http://dev.yorhel.nl/ncdu"
11 WGET_URL="http://dev.yorhel.nl/download/$TARBALL"
13 DEPENDS="ncurses ncursesw"
14 BUILD_DEPENDS="ncurses-dev"
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 }