wok-next view slitaz-doc/receipt @ rev 3084

Up: slitaz-doc (3.0) - Dox is noe translated and splited
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 16 00:58:09 2009 +0200 (2009-05-16)
parents 6cb843b8fe66
children 7839c7be54b3
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-doc"
4 VERSION="3.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 cp -a $src/slitaz/slitaz.css $fs/usr/share/doc/slitaz
22 cp -a $src/slitaz/favicon.ico $fs/usr/share/doc/slitaz
23 cp -a $src/slitaz/images $fs/usr/share/doc/slitaz
24 # Desktop file and pixmaps
25 cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop
26 sed -i s/'firefox'/'browser'/ $fs/etc/skel/Desktop/slita-doc.desktop
27 cp -a $src/pixmaps $fs/usr/share
28 chown -R root.root $fs/*
29 chmod -x $fs/usr/share/doc/slitaz/*.html
30 }