# docbook-xsl/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "docbook" and related build procedures are taken from LFS/BLFS with largely minor differences. One significant change is that "opensp", "openjade", and "docbook- utils" are omitted due to "openjade" being fragile and close to non- buildable. #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.08 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM #--------------------------------------------------------------------- [settings] configure = none license = tbd proddir = none tmpsize = 53M unpack = relaxed #--------------------------------------------------------------------- [depends] ant-jdk15:forward # Runtime docbook-dtd31 docbook-dtd45 docbook-dsssl docbook-xml45 docbook-xml50 docbook-xml51 grep infozip libxml2 libxslt # Runtime sed sgml-common:strict #--------------------------------------------------------------------- [build] ls /etc/xml/catalog || exit 1 #--------------------------------------------------------------------- XSL_NONS_SPECIFIC="https://cdn.docbook.org/release/xsl-nons/1.79.2" XSL_NONS_CURRENT="https://cdn.docbook.org/release/xsl-nons/current" XSL_SHARE="/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2" SHARE_CAT="$XSL_SHARE /etc/xml/catalog" XSL_RELEASE_1="http://docbook.sourceforge.net/release/xsl/current" XSL_RELEASE_2="http://docbook.sourceforge.net/release/xsl-ns/current" #--------------------------------------------------------------------- install -v -m755 -d $XSL_SHARE cp -v -R VERSION assembly common eclipse epub epub3 extensions fo \ highlighting html htmlhelp images javahelp lib manpages params \ profiling roundtrip slides template tests tools webhelp website \ xhtml xhtml-1_1 xhtml5 \ $XSL_SHARE ln -nsf VERSION $XSL_SHARE/VERSION.xsl install -v -m644 -D README \ /usr/share/doc/docbook-xsl-nons-1.79.2/README.txt install -v -m644 RELEASE-NOTES* NEWS* \ /usr/share/doc/docbook-xsl-nons-1.79.2 if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi if [ ! -f /etc/xml/catalog ]; then xmlcatalog --noout --create /etc/xml/catalog fi #--------------------------------------------------------------------- xmlcatalog --noout --add rewriteSystem $XSL_NONS_SPECIFIC $SHARE_CAT xmlcatalog --noout --add rewriteURI $XSL_NONS_SPECIFIC $SHARE_CAT xmlcatalog --noout --add rewriteSystem $XSL_NONS_CURRENT $SHARE_CAT xmlcatalog --noout --add rewriteURI $XSL_NONS_CURRENT $SHARE_CAT #--------------------------------------------------------------------- # This part differs slightly from the BLFS procedure. The change is # needed to get some packages to build. xmlcatalog --noout --add rewriteSystem $XSL_RELEASE_1 $SHARE_CAT xmlcatalog --noout --add rewriteURI $XSL_RELEASE_1 $SHARE_CAT xmlcatalog --noout --add rewriteSystem $XSL_RELEASE_2 $SHARE_CAT xmlcatalog --noout --add rewriteURI $XSL_RELEASE_2 $SHARE_CAT #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = n/a url_home = tbd url_lfs = http://www.linuxfromscratch.org/blfs/view/svn/\ pst/docbook.html url_archive = https://github.com/docbook/xslt10-stylesheets/\ releases/download/release/\ 1.79.2/docbook-xsl-nons-1.79.2.tar.bz2 #--------------------------------------------------------------------- [history] 210226 Added package. Started with 1.79.2.