wok-stable annotate cdf/receipt @ rev 10772
Trying to make a tazdev-like receip with source from slitaz-dev-tools, in order to get yaff cooked properly
author | Babaorum |
---|---|
date | Tue May 31 21:49:58 2011 +0100 (2011-05-31) |
parents | 2566eb2b0dae |
children |
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" |
jozee@4933 | 6 SHORT_DESC="Colorized df (color schemes)." |
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" |
jozee@4933 | 12 TAGS="color schemes" |
paul@2906 | 13 |
paul@2906 | 14 # Rules to configure and make the package. |
paul@2906 | 15 compile_rules() |
paul@2906 | 16 { |
paul@2906 | 17 cd $src |
paul@2906 | 18 |
paul@2906 | 19 # Fix typos |
paul@2906 | 20 sed -i 's/filesyitems/filesystems/' src/main.c |
paul@2906 | 21 |
paul@2906 | 22 ./configure \ |
paul@2906 | 23 --prefix=/usr \ |
paul@2906 | 24 --infodir=/usr/share/info \ |
paul@2906 | 25 --mandir=/usr/share/man \ |
paul@2906 | 26 $CONFIGURE_ARGS && |
paul@2906 | 27 make && make DESTDIR=$PWD/_pkg install |
paul@2906 | 28 } |
paul@2906 | 29 |
paul@2906 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2906 | 31 genpkg_rules() |
paul@2906 | 32 { |
paul@2906 | 33 mkdir -p $fs/usr |
paul@2906 | 34 cp -a $_pkg/usr/bin $fs/usr |
paul@2906 | 35 } |