wok annotate 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
rev   line source
paul@4892 1 # SliTaz package receipt.
paul@4892 2
paul@4892 3 PACKAGE="ncdu"
paul@17347 4 VERSION="1.10"
paul@4892 5 CATEGORY="utilities"
paul@4892 6 SHORT_DESC="NCurses Disk Usage."
paul@4892 7 MAINTAINER="paul@slitaz.org"
pascal@15601 8 LICENSE="MIT"
paul@4892 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4892 10 WEB_SITE="http://dev.yorhel.nl/ncdu"
paul@4892 11 WGET_URL="http://dev.yorhel.nl/download/$TARBALL"
paul@4892 12
pascal@15601 13 DEPENDS="ncurses ncursesw"
pascal@15601 14 BUILD_DEPENDS="ncurses-dev"
pascal@15601 15
paul@4892 16 # Rules to configure and make the package.
paul@4892 17 compile_rules()
paul@4892 18 {
paul@4892 19 cd $src
paul@4892 20 ./configure \
paul@4892 21 --prefix=/usr \
paul@4892 22 --infodir=/usr/share/info \
paul@4892 23 --mandir=/usr/share/man \
paul@4892 24 $CONFIGURE_ARGS &&
paul@13509 25 make && make install
paul@4892 26 }
paul@4892 27
paul@4892 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4892 29 genpkg_rules()
paul@4892 30 {
paul@4892 31 mkdir -p $fs/usr
paul@13509 32 cp -a $install/usr/bin $fs/usr
paul@4892 33 }
paul@4892 34