wok-current diff docbook-xsl/receipt @ rev 11668
inkscape: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 17 13:30:57 2012 +0100 (2012-02-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 Fri Feb 17 13:30:57 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