wok-current annotate ncdu/receipt @ rev 13278

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
parents 5a347f6fc068
children ba3b4a174a88
rev   line source
paul@4892 1 # SliTaz package receipt.
paul@4892 2
paul@4892 3 PACKAGE="ncdu"
devl547@11333 4 VERSION="1.8"
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