# HG changeset patch # User Paul Issott # Date 1241629550 0 # Node ID 2566eb2b0daef17338288876afae167874297fdc # Parent 2c17053d6634818d56b3829ae907f7bca8f9c858 Add cdf diff -r 2c17053d6634 -r 2566eb2b0dae cdf/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cdf/receipt Wed May 06 17:05:50 2009 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="cdf" +VERSION="0.2" +CATEGORY="system-tools" +SHORT_DESC="Colorized df." +MAINTAINER="paul@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://bmp-plugins.berlios.de/misc/cdf/cdf.html" +WGET_URL="http://download.berlios.de/bmp-plugins/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + # Fix typos + sed -i 's/filesyitems/filesystems/' src/main.c + + ./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 +}