Receipt for package "docbook-xsl"
# SliTaz package receipt. PACKAGE="docbook-xsl" VERSION="1.79.2" CATEGORY="development" SHORT_DESC="DocBook XSL stylesheets." MAINTAINER="paul@slitaz.org" LICENSE="MIT" WEB_SITE="https://github.com/docbook/wiki/wiki/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://github.com/docbook/xslt10-stylesheets/releases/download/release/$VERSION/$TARBALL" DEPENDS="docbook-xml libxml2-tools libxslt" HOST_ARCH="i486 x86_64" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cd $src # do not remove pkgroot=$fs/usr/share/xml/docbook/stylesheet/$PACKAGE install -dm755 $pkgroot/common install -dm755 $pkgroot/params install -m644 VERSION.xsl $pkgroot for fn in xml xsl dtd ent do install -m644 common/*.${fn} $pkgroot/common/ done for fn in fo highlighting html roundtrip do install -dm755 ${pkgroot}/${fn} install -m644 ${fn}/*.xml ${pkgroot}/${fn}/ install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/ done for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml xhtml-1_1 do install -dm755 ${pkgroot}/${fn} install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/ done } # Pre and post install commands for Tazpkg. post_install() { if [ -n "$1" ] then mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2>/dev/null cp /etc/resolv.conf "$1/etc/resolv.conf" fi # Create a /etc/xml/catalog file if [ ! -d "$1/etc/xml" ] then install -v -m755 -d "$1/etc/xml" fi && if [ ! -f "$1/etc/xml/catalog" ] then chroot "$1/" xmlcatalog --noout --create /etc/xml/catalog fi && chroot "$1/" xmlcatalog --noout --add "rewriteSystem" \ "http://docbook.sourceforge.net/release/xsl/$VERSION" \ "/usr/share/xml/docbook/stylesheet/$PACKAGE" \ /etc/xml/catalog && chroot "$1/" xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/$VERSION" \ "/usr/share/xml/docbook/stylesheet/$PACKAGE" \ /etc/xml/catalog && chroot "$1/" xmlcatalog --noout --add "rewriteSystem" \ "http://docbook.sourceforge.net/release/xsl/current" \ "/usr/share/xml/docbook/stylesheet/$PACKAGE" \ /etc/xml/catalog && chroot "$1/" xmlcatalog --noout --add "rewriteURI" \ "http://docbook.sourceforge.net/release/xsl/current" \ "/usr/share/xml/docbook/stylesheet/$PACKAGE" \ /etc/xml/catalog # link nwalsh dir cd "$1/usr/share/xml/docbook/stylesheet" ln -s $PACKAGE nwalsh if [ -n "$1" ] then mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2> /dev/null fi : }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)