wok-current annotate slitaz-doc/receipt @ rev 10690
slitaz-doc: fix receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 21:20:56 2011 +0200 (2011-05-27) |
parents | 8e887cb36bd7 |
children | b96b57bd662b |
rev | line source |
---|---|
pankso@421 | 1 # SliTaz package receipt. |
pankso@421 | 2 |
pankso@421 | 3 PACKAGE="slitaz-doc" |
pankso@6748 | 4 VERSION="4.1" |
pankso@421 | 5 CATEGORY="base-system" |
pankso@421 | 6 SHORT_DESC="SliTaz system documentation." |
pankso@421 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@421 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@421 | 9 WEB_SITE="http://www.slitaz.org/" |
pankso@2636 | 10 WGET_URL="http://mirror.slitaz.org/sources/doc/$TARBALL" |
pankso@421 | 11 |
pankso@421 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@421 | 13 genpkg_rules() |
pankso@421 | 14 { |
pankso@3085 | 15 mkdir -p $fs/usr/share/doc/slitaz \ |
pankso@10690 | 16 $fs/usr/share/applications \ |
pankso@2636 | 17 $fs/usr/share/pixmaps \ |
pankso@2636 | 18 $fs/etc/skel/Desktop \ |
pascal@9113 | 19 # Copy default english doc from slitaz/ and set permissions. |
pascal@9113 | 20 cd $src/slitaz |
pascal@9113 | 21 for i in index.en.html index.html relnotes.*.html book.css \ |
pascal@9113 | 22 favicon.ico images ; do |
pascal@9113 | 23 [ -e "$i" ] && cp -a $i $fs/usr/share/doc/slitaz |
pascal@9113 | 24 done |
pankso@3084 | 25 # Desktop file and pixmaps |
pankso@2636 | 26 cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop |
pascal@9445 | 27 cp $src/applications/system-doc.desktop $fs/usr/share/applications |
pankso@2636 | 28 cp -a $src/pixmaps $fs/usr/share |
pankso@421 | 29 chown -R root.root $fs/* |
pankso@2636 | 30 chmod -x $fs/usr/share/doc/slitaz/*.html |
pankso@421 | 31 } |