# HG changeset patch # User Paul Issott # Date 1265479838 0 # Node ID 9dd4e8cd0abb691d0865d081ae21e9db86cf9e79 # Parent 4966a9f6f2079033057bceba3b6a329391c349e1 Add: ncdu diff -r 4966a9f6f207 -r 9dd4e8cd0abb ncdu/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ncdu/receipt Sat Feb 06 18:10:38 2010 +0000 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="ncdu" +VERSION="1.6" +CATEGORY="utilities" +SHORT_DESC="NCurses Disk Usage." +MAINTAINER="paul@slitaz.org" +DEPENDS="ncurses" +BUILD_DEPENDS="ncurses-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://dev.yorhel.nl/ncdu" +WGET_URL="http://dev.yorhel.nl/download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} +