wok annotate ncdu/receipt @ rev 5209

xarchive: fix double suffix case (.tar.gz)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 02 20:56:18 2010 +0200 (2010-04-02)
parents 9dd4e8cd0abb
children 5a347f6fc068
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"
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