wok-next annotate ncdu/receipt @ rev 8223

imported patch cleanup/dmsetup.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 5b44af8c1257
children 5dcaf0d39e8c
rev   line source
paul@4892 1 # SliTaz package receipt.
paul@4892 2
paul@4892 3 PACKAGE="ncdu"
paul@7099 4 VERSION="1.7"
paul@4892 5 CATEGORY="utilities"
paul@4892 6 SHORT_DESC="NCurses Disk Usage."
paul@4892 7 MAINTAINER="paul@slitaz.org"
pascal@5004 8 DEPENDS="ncurses ncursesw"
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