wok-current diff docbook-xsl-ns/receipt @ rev 15445
Up: efreet (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:54 2013 +0100 (2013-11-05) |
parents | 6ce472884aeb |
children | eb8067417980 |
line diff
1.1 --- a/docbook-xsl-ns/receipt Sun Dec 19 15:46:56 2010 +0000 1.2 +++ b/docbook-xsl-ns/receipt Tue Nov 05 20:57:54 2013 +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-ns/1.76.0" \ 1.36 + "http://docbook.sourceforge.net/release/xsl-ns/$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-ns/1.76.0" \ 1.42 + "http://docbook.sourceforge.net/release/xsl-ns/$VERSION" \ 1.43 "/usr/share/xml/docbook/stylesheet/$PACKAGE/catalog.xml" \ 1.44 $1/etc/xml/catalog && 1.45