wok annotate cdf/receipt @ rev 18666
Up tazpkg (883)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 04 13:21:56 2015 +0100 (2015-12-04) |
parents | f7e96b8e3444 |
children | 6e8b1bcb30e2 |
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" |
pascal@15579 | 8 LICENSE="GPL2" |
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 |
pascal@15579 | 14 DEPENDS="" |
pascal@15579 | 15 |
paul@2906 | 16 # Rules to configure and make the package. |
paul@2906 | 17 compile_rules() |
paul@2906 | 18 { |
paul@2906 | 19 cd $src |
paul@2906 | 20 |
paul@2906 | 21 # Fix typos |
paul@2906 | 22 sed -i 's/filesyitems/filesystems/' src/main.c |
paul@2906 | 23 |
paul@2906 | 24 ./configure \ |
paul@2906 | 25 --prefix=/usr \ |
paul@2906 | 26 --infodir=/usr/share/info \ |
paul@2906 | 27 --mandir=/usr/share/man \ |
paul@2906 | 28 $CONFIGURE_ARGS && |
pascal@15579 | 29 make && make DESTDIR=$DESTDIR install |
paul@2906 | 30 } |
paul@2906 | 31 |
paul@2906 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2906 | 33 genpkg_rules() |
paul@2906 | 34 { |
paul@2906 | 35 mkdir -p $fs/usr |
pascal@15579 | 36 cp -a $install/usr/bin $fs/usr |
paul@2906 | 37 } |