wok-stable view slitaz-doc/receipt @ rev 10699
winetricks: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 09:26:23 2011 +0200 (2011-05-28) |
parents | 8e887cb36bd7 |
children | b96b57bd662b |
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/applications \
17 $fs/usr/share/pixmaps \
18 $fs/etc/skel/Desktop \
19 # Copy default english doc from slitaz/ and set permissions.
20 cd $src/slitaz
21 for i in index.en.html index.html relnotes.*.html book.css \
22 favicon.ico images ; do
23 [ -e "$i" ] && cp -a $i $fs/usr/share/doc/slitaz
24 done
25 # Desktop file and pixmaps
26 cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop
27 cp $src/applications/system-doc.desktop $fs/usr/share/applications
28 cp -a $src/pixmaps $fs/usr/share
29 chown -R root.root $fs/*
30 chmod -x $fs/usr/share/doc/slitaz/*.html
31 }