wok annotate cdf/receipt @ rev 4493
Up: amsn (0.98.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Nov 18 22:02:57 2009 +0000 (2009-11-18) |
parents | |
children | f7e96b8e3444 |
rev | line source |
---|---|
paul@2906 | 1 # SliTaz package receipt. |
paul@2906 | 2 |
paul@2906 | 3 PACKAGE="cdf" |
paul@2906 | 4 VERSION="0.2" |
paul@2906 | 5 CATEGORY="system-tools" |
paul@2906 | 6 SHORT_DESC="Colorized df." |
paul@2906 | 7 MAINTAINER="paul@slitaz.org" |
paul@2906 | 8 DEPENDS="" |
paul@2906 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@2906 | 10 WEB_SITE="http://bmp-plugins.berlios.de/misc/cdf/cdf.html" |
paul@2906 | 11 WGET_URL="http://download.berlios.de/bmp-plugins/$TARBALL" |
paul@2906 | 12 |
paul@2906 | 13 # Rules to configure and make the package. |
paul@2906 | 14 compile_rules() |
paul@2906 | 15 { |
paul@2906 | 16 cd $src |
paul@2906 | 17 |
paul@2906 | 18 # Fix typos |
paul@2906 | 19 sed -i 's/filesyitems/filesystems/' src/main.c |
paul@2906 | 20 |
paul@2906 | 21 ./configure \ |
paul@2906 | 22 --prefix=/usr \ |
paul@2906 | 23 --infodir=/usr/share/info \ |
paul@2906 | 24 --mandir=/usr/share/man \ |
paul@2906 | 25 $CONFIGURE_ARGS && |
paul@2906 | 26 make && make DESTDIR=$PWD/_pkg install |
paul@2906 | 27 } |
paul@2906 | 28 |
paul@2906 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2906 | 30 genpkg_rules() |
paul@2906 | 31 { |
paul@2906 | 32 mkdir -p $fs/usr |
paul@2906 | 33 cp -a $_pkg/usr/bin $fs/usr |
paul@2906 | 34 } |