wok view slitaz-doc/receipt @ rev 6409
smbfs, thunderbird*: fix WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 14:21:33 2010 +0200 (2010-09-25) |
parents | ab092d8a7a8b |
children | f1c95e8afffe |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-doc"
4 VERSION="4.0"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz system documentation."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://mirror.slitaz.org/sources/doc/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/doc/slitaz \
16 $fs/usr/share/pixmaps \
17 $fs/etc/skel/Desktop \
18 # Copy default english doc from slitaz/ and set permissions.
19 cp -a $src/slitaz/index.en.html $fs/usr/share/doc/slitaz
20 cp -a $src/slitaz/index.html $fs/usr/share/doc/slitaz
21 # For stable release.
22 cp -a $src/slitaz/relnotes.*.html $fs/usr/share/doc/slitaz
23 cp -a $src/slitaz/book.css $fs/usr/share/doc/slitaz
24 cp -a $src/slitaz/favicon.ico $fs/usr/share/doc/slitaz
25 cp -a $src/slitaz/images $fs/usr/share/doc/slitaz
26 # Desktop file and pixmaps
27 cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop
28 cp -a $src/pixmaps $fs/usr/share
29 chown -R root.root $fs/*
30 chmod -x $fs/usr/share/doc/slitaz/*.html
31 # Specific language doc is include in locale pack.
32 for i in "de fr hu pt"
33 do
34 [ -d $WOK/locale-$i ] && tazwok cook locale-$i
35 done
36 }