wok-current annotate cdf/receipt @ rev 13585
sbxkb: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 12:55:04 2012 +0100 (2012-11-06) |
parents | 2566eb2b0dae |
children | eb8067417980 |
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 } |