wok annotate ncdu/receipt @ rev 4892

Add: ncdu
author Paul Issott <paul@slitaz.org>
date Sat Feb 06 18:10:38 2010 +0000 (2010-02-06)
parents
children 5b44af8c1257
rev   line source
paul@4892 1 # SliTaz package receipt.
paul@4892 2
paul@4892 3 PACKAGE="ncdu"
paul@4892 4 VERSION="1.6"
paul@4892 5 CATEGORY="utilities"
paul@4892 6 SHORT_DESC="NCurses Disk Usage."
paul@4892 7 MAINTAINER="paul@slitaz.org"
paul@4892 8 DEPENDS="ncurses"
paul@4892 9 BUILD_DEPENDS="ncurses-dev"
paul@4892 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4892 11 WEB_SITE="http://dev.yorhel.nl/ncdu"
paul@4892 12 WGET_URL="http://dev.yorhel.nl/download/$TARBALL"
paul@4892 13
paul@4892 14 # Rules to configure and make the package.
paul@4892 15 compile_rules()
paul@4892 16 {
paul@4892 17 cd $src
paul@4892 18 ./configure \
paul@4892 19 --prefix=/usr \
paul@4892 20 --infodir=/usr/share/info \
paul@4892 21 --mandir=/usr/share/man \
paul@4892 22 $CONFIGURE_ARGS &&
paul@4892 23 make && make DESTDIR=$PWD/_pkg install
paul@4892 24 }
paul@4892 25
paul@4892 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4892 27 genpkg_rules()
paul@4892 28 {
paul@4892 29 mkdir -p $fs/usr
paul@4892 30 cp -a $_pkg/usr/bin $fs/usr
paul@4892 31 }
paul@4892 32