wok view slitaz-doc/receipt @ rev 9424

ovz-web-panel: Change DEPENDS + cleaning
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Mar 30 23:44:21 2011 +0200 (2011-03-30)
parents 74d36ad61517
children 8e887cb36bd7
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-doc"
4 VERSION="4.1"
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 cd $src/slitaz
20 for i in index.en.html index.html relnotes.*.html book.css \
21 favicon.ico images ; do
22 [ -e "$i" ] && cp -a $i $fs/usr/share/doc/slitaz
23 done
24 # Desktop file and pixmaps
25 cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop
26 cp -a $src/pixmaps $fs/usr/share
27 chown -R root.root $fs/*
28 chmod -x $fs/usr/share/doc/slitaz/*.html
29 # Specific language doc is include in locale pack.
30 for i in de fr hu pt
31 do
32 [ -d $WOK/locale-$i ] && tazwok cook locale-$i
33 done
34 }