wok rev 22652
updated docbook-xsl-ns (1.76.1 -> 1.79.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 14 14:54:26 2020 +0100 (2020-01-14) |
parents | 32b5f4e7ff37 |
children | 60a578ea2fce |
files | docbook-xsl-ns/receipt |
line diff
1.1 --- a/docbook-xsl-ns/receipt Tue Jan 14 14:40:03 2020 +0100 1.2 +++ b/docbook-xsl-ns/receipt Tue Jan 14 14:54:26 2020 +0100 1.3 @@ -1,52 +1,60 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="docbook-xsl-ns" 1.7 -VERSION="1.76.1" 1.8 +VERSION="1.79.1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="DocBook XSL (namespaced) stylesheets." 1.11 MAINTAINER="paul@slitaz.org" 1.12 LICENSE="MIT" 1.13 +WEB_SITE="https://docbook.sourceforge.net/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://docbook.sourceforge.net/" 1.17 -WGET_URL="http://jaist.dl.sourceforge.net/sourceforge/docbook/$TARBALL" 1.18 +WGET_URL="https://sourceforge.net/projects/docbook/files/$PACKAGE/$VERSION/$TARBALL" 1.19 1.20 DEPENDS="libxml2-tools libxslt" 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 - cd $src 1.26 pkgroot=$fs/usr/share/xml/docbook/stylesheet/$PACKAGE 1.27 - install -dm755 $pkgroot/common 1.28 - install -dm755 $pkgroot/params 1.29 + install -dm755 $pkgroot/common 1.30 + install -dm755 $pkgroot/params 1.31 1.32 - for fn in xml xsl dtd ent; do 1.33 - install -m644 common/*.${fn} $pkgroot/common/ 1.34 - done 1.35 + for fn in xml xsl dtd ent 1.36 + do 1.37 + install -m644 common/*.${fn} $pkgroot/common/ 1.38 + done 1.39 1.40 - for fn in fo highlighting html roundtrip; do 1.41 - install -dm755 ${pkgroot}/${fn} 1.42 - install -m644 ${fn}/*.xml ${pkgroot}/${fn}/ 1.43 - install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/ 1.44 - done 1.45 + for fn in fo highlighting html roundtrip 1.46 + do 1.47 + install -dm755 ${pkgroot}/${fn} 1.48 + install -m644 ${fn}/*.xml ${pkgroot}/${fn}/ 1.49 + install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/ 1.50 + done 1.51 1.52 - for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml xhtml-1_1; do 1.53 - install -dm755 ${pkgroot}/${fn} 1.54 - install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/ 1.55 - done 1.56 + for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml xhtml-1_1 1.57 + do 1.58 + install -dm755 ${pkgroot}/${fn} 1.59 + install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/ 1.60 + done 1.61 } 1.62 1.63 # Pre and post install commands for Tazpkg. 1.64 post_install() 1.65 { 1.66 - if [ "$1" ]; then 1.67 - mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2>/dev/null 1.68 - cp /etc/resolv.conf "$1/etc/resolv.conf" 1.69 + if [ "$1" ] 1.70 + then 1.71 + mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2>/dev/null 1.72 + cp /etc/resolv.conf "$1/etc/resolv.conf" 1.73 fi 1.74 1.75 # Create a /etc/xml/catalog file 1.76 - if [ ! -d "$1/etc/xml" ]; then install -v -m755 -d "$1/etc/xml"; fi && 1.77 - if [ ! -f "$1/etc/xml/catalog" ]; then 1.78 + if [ ! -d "$1/etc/xml" ] 1.79 + then 1.80 + install -v -m755 -d "$1/etc/xml" 1.81 + fi && 1.82 + if [ ! -f "$1/etc/xml/catalog" ] 1.83 + then 1.84 chroot "$1/" xmlcatalog --noout --create /etc/xml/catalog 1.85 fi && 1.86 1.87 @@ -70,7 +78,8 @@ 1.88 "/usr/share/xml/docbook/stylesheet/$PACKAGE/catalog.xml" \ 1.89 /etc/xml/catalog 1.90 1.91 - if [ "$1" ]; then 1.92 - mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2>/dev/null 1.93 + if [ "$1" ] 1.94 + then 1.95 + mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2>/dev/null 1.96 fi 1.97 }