wok-6.x annotate libfox-doc/receipt @ rev 2557
libfox-dev: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 12:36:11 2009 +0000 (2009-03-26) |
parents | 8c8d1dfb63df |
children | 180020af2ba6 |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="libfox-doc" |
pascal@1136 | 4 VERS="1.6" |
pascal@1136 | 5 VERSION="1.6.33" |
pascal@1136 | 6 CATEGORY="development" |
pascal@1136 | 7 SHORT_DESC="Documents and some examples using FOX." |
pascal@1136 | 8 MAINTAINER="chadi.elahmad@gmail.com" |
pascal@1136 | 9 |
pascal@1136 | 10 WEB_SITE="http://www.fox-toolkit.org/" |
pascal@1136 | 11 |
pascal@1136 | 12 WANTED="libfox" |
pascal@1136 | 13 SOURCE="fox" |
pascal@1136 | 14 |
pascal@1136 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 16 genpkg_rules() |
pascal@1136 | 17 { |
pascal@1136 | 18 mkdir -p $fs/usr/share/doc |
pascal@1136 | 19 |
pascal@2557 | 20 src=$WOK/$WANTED/$SOURCE-$VERSION |
pascal@2557 | 21 _pkg=$src/_pkg |
pascal@1136 | 22 cp -a $_pkg/usr/share/doc/* $fs/usr/share/doc |
pascal@1136 | 23 rm -f $src/tests/*.o |
pascal@1136 | 24 cp -a $src/tests $fs/usr/share/doc/fox* |
pascal@1136 | 25 } |