wok-6.x diff docbook-xsl-ns/receipt @ rev 15275
clipit: remove icon (sorry, guys), move autostart item back to /etc/...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 25 19:03:47 2013 +0300 (2013-09-25) |
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 Wed Sep 25 19:03:47 2013 +0300 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