wok-next rev 2906
Add cdf
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed May 06 17:05:50 2009 +0000 (2009-05-06) |
parents | 2c17053d6634 |
children | 3e34ebb36f7f |
files | cdf/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cdf/receipt Wed May 06 17:05:50 2009 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cdf" 1.7 +VERSION="0.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Colorized df." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://bmp-plugins.berlios.de/misc/cdf/cdf.html" 1.14 +WGET_URL="http://download.berlios.de/bmp-plugins/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + 1.21 + # Fix typos 1.22 + sed -i 's/filesyitems/filesystems/' src/main.c 1.23 + 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && make DESTDIR=$PWD/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr 1.36 + cp -a $_pkg/usr/bin $fs/usr 1.37 +}