wok-current annotate slitaz-doc/receipt @ rev 5614
catalyst: fix compile with 2.6.33.4 and WGET_URL
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 20 10:43:52 2010 -0400 (2010-05-20) |
parents | 323bf99a3c08 |
children | 76c671e3cd09 |
rev | line source |
---|---|
pankso@421 | 1 # SliTaz package receipt. |
pankso@421 | 2 |
pankso@421 | 3 PACKAGE="slitaz-doc" |
pankso@5195 | 4 VERSION="3.2" |
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@2636 | 16 $fs/usr/share/pixmaps \ |
pankso@2636 | 17 $fs/etc/skel/Desktop \ |
pankso@3084 | 18 # Copy default english doc from slitaz/ and set permissions. |
pankso@3084 | 19 cp -a $src/slitaz/index.en.html $fs/usr/share/doc/slitaz |
pankso@3084 | 20 cp -a $src/slitaz/index.html $fs/usr/share/doc/slitaz |
pankso@5193 | 21 # For stable release. |
pankso@5193 | 22 cp -a $src/slitaz/relnotes.*.html $fs/usr/share/doc/slitaz |
pankso@3085 | 23 cp -a $src/slitaz/book.css $fs/usr/share/doc/slitaz |
pankso@3084 | 24 cp -a $src/slitaz/favicon.ico $fs/usr/share/doc/slitaz |
pankso@3084 | 25 cp -a $src/slitaz/images $fs/usr/share/doc/slitaz |
pankso@3084 | 26 # Desktop file and pixmaps |
pankso@2636 | 27 cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop |
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@4908 | 31 # Specific language doc is include in locale pack. |
pankso@4908 | 32 for i in "de fr hu pt" |
pankso@4908 | 33 do |
pankso@4908 | 34 [ -d $WOK/locale-$i ] && tazwok cook locale-$i |
pankso@4908 | 35 done |
pankso@421 | 36 } |