wok-6.x diff docbook-xsl/receipt @ rev 12158
Up slitaz-tools (4.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 17 16:12:20 2012 +0100 (2012-03-17) |
parents | 8e7c178e1fc8 |
children | eb8067417980 |
line diff
1.1 --- a/docbook-xsl/receipt Sun Dec 12 14:18:42 2010 +0000 1.2 +++ b/docbook-xsl/receipt Sat Mar 17 16:12:20 2012 +0100 1.3 @@ -13,8 +13,25 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/share/xml/docbook/stylesheet/$PACKAGE 1.8 - cp -a $src/* $fs/usr/share/xml/docbook/stylesheet/$PACKAGE 1.9 + cd $src 1.10 + pkgroot=$fs/usr/share/xml/docbook/stylesheet/$PACKAGE 1.11 + install -dm755 $pkgroot/common 1.12 + install -dm755 $pkgroot/params 1.13 + 1.14 + for fn in xml xsl dtd ent; do 1.15 + install -m644 common/*.${fn} $pkgroot/common/ 1.16 + done 1.17 + 1.18 + for fn in fo highlighting html roundtrip; do 1.19 + install -dm755 ${pkgroot}/${fn} 1.20 + install -m644 ${fn}/*.xml ${pkgroot}/${fn}/ 1.21 + install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/ 1.22 + done 1.23 + 1.24 + for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml xhtml-1_1; do 1.25 + install -dm755 ${pkgroot}/${fn} 1.26 + install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/ 1.27 + done 1.28 } 1.29 1.30 # Pre and post install commands for Tazpkg. 1.31 @@ -29,12 +46,12 @@ 1.32 fi && 1.33 1.34 xmlcatalog --noout --add "rewriteSystem" \ 1.35 - "http://docbook.sourceforge.net/release/xsl/1.76.0" \ 1.36 + "http://docbook.sourceforge.net/release/xsl/$VERSION" \ 1.37 "/usr/share/xml/docbook/stylesheet/$PACKAGE/catalog.xml" \ 1.38 $1/etc/xml/catalog && 1.39 1.40 xmlcatalog --noout --add "rewriteURI" \ 1.41 - "http://docbook.sourceforge.net/release/xsl/1.76.0" \ 1.42 + "http://docbook.sourceforge.net/release/xsl/$VERSION" \ 1.43 "/usr/share/xml/docbook/stylesheet/$PACKAGE/catalog.xml" \ 1.44 $1/etc/xml/catalog && 1.45