wok-current 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 30e968a1ed73
children 7839c7be54b3
files slitaz-doc/receipt
line diff
     1.1 --- a/slitaz-doc/receipt	Sat May 16 00:25:45 2009 +0200
     1.2 +++ b/slitaz-doc/receipt	Sat May 16 00:58:09 2009 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-doc"
     1.7 -VERSION="2.1"
     1.8 +VERSION="3.0"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz system documentation."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -12,12 +12,18 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr/share/doc \
    1.17 +	mkdir -p $fs/usr/share/doc /slitaz \
    1.18  		$fs/usr/share/pixmaps \
    1.19  		$fs/etc/skel/Desktop \
    1.20 -    # Copy all rootfs from slitaz/ and set permissions.
    1.21 -    cp -a $src/slitaz $fs/usr/share/doc 
    1.22 +    # Copy default english doc from slitaz/ and set permissions.
    1.23 +    cp -a $src/slitaz/index.en.html $fs/usr/share/doc/slitaz
    1.24 +	cp -a $src/slitaz/index.html $fs/usr/share/doc/slitaz
    1.25 +	cp -a $src/slitaz/slitaz.css $fs/usr/share/doc/slitaz
    1.26 +	cp -a $src/slitaz/favicon.ico $fs/usr/share/doc/slitaz
    1.27 +	cp -a $src/slitaz/images $fs/usr/share/doc/slitaz
    1.28 +	# Desktop file and pixmaps
    1.29  	cp $src/applications/slitaz-doc.desktop $fs/etc/skel/Desktop
    1.30 +	sed -i s/'firefox'/'browser'/ $fs/etc/skel/Desktop/slita-doc.desktop
    1.31  	cp -a $src/pixmaps $fs/usr/share
    1.32  	chown -R root.root $fs/*
    1.33  	chmod -x $fs/usr/share/doc/slitaz/*.html