# docbook-xml51/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.02 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM #--------------------------------------------------------------------- [settings] configure = none license = tbd proddir = none tmpsize = 1M unpack = none #--------------------------------------------------------------------- [depends] docbook-xml45 docbook-xml50 libxml2 sgml-common:strict unzip #--------------------------------------------------------------------- [build] ls /etc/xml/catalog || exit 1 BUILDDIR=/tmp/docbook-xml51 rm -fr $BUILDDIR mkdir $BUILDDIR cd $BUILDDIR unzip -q $PKGDIR_SPECIAL/docbook-v5.1-os.zip #--------------------------------------------------------------------- SHARE_DOC_SCHEMA=/usr/share/xml/docbook/schema OASIS_XML_DIR=http://www.oasis-open.org/docbook/xml SHARE_RNG_CAT=$SHARE_DOC_SCHEMA/rng/5.1/catalog.xml #--------------------------------------------------------------------- install -vdm755 $SHARE_DOC_SCHEMA/{rng,sch}/5.1 install -m644 schemas/rng/* $SHARE_DOC_SCHEMA/rng/5.1 install -m644 schemas/sch/* $SHARE_DOC_SCHEMA/sch/5.1 install -m755 tools/db4-entities.pl /usr/bin install -vdm755 /usr/share/xml/docbook/stylesheet/docbook5 install -m644 tools/db4-upgrade.xsl \ /usr/share/xml/docbook/stylesheet/docbook5 if [ ! -e /etc/xml/catalog ]; then xmlcatalog --noout --create /etc/xml/catalog fi if [ ! -e /etc/xml/docbook-5.1 ]; then xmlcatalog --noout --create /etc/xml/docbook-5.1 fi xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/rng/docbook.rng \ file://$SHARE_DOC_SCHEMA/rng/5.1/docbook.rng \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/rng/docbook.rng \ file://$SHARE_DOC_SCHEMA/rng/5.1/docbook.rng \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/rng/docbookxi.rng \ file://$SHARE_DOC_SCHEMA/rng/5.1/docbookxi.rng \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/rng/docbookxi.rng \ file://$SHARE_DOC_SCHEMA/rng/5.1/docbookxi.rng \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/rnc/docbook.rnc \ file://$SHARE_DOC_SCHEMA/rng/5.1/docbook.rnc \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/rng/docbook.rnc \ file://$SHARE_DOC_SCHEMA/rng/5.1/docbook.rnc \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/rnc/docbookxi.rnc \ file://$SHARE_DOC_SCHEMA/rng/5.1/docbookxi.rnc \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/rng/docbookxi.rnc \ file://$SHARE_DOC_SCHEMA/rng/5.1/docbookxi.rnc \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/sch/docbook.sch \ file://$SHARE_DOC_SCHEMA/sch/5.1/docbook.sch \ /etc/xml/docbook-5.1 xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/sch/docbook.sch \ file://$SHARE_DOC_SCHEMA/sch/5.1/docbook.sch \ /etc/xml/docbook-5.1 xmlcatalog --noout --create $SHARE_RNG_CAT xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/schemas/rng/docbook.schemas/rng \ docbook.schemas/rng $SHARE_RNG_CAT xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/schemas/rng/docbook.schemas/rng \ docbook.schemas/rng $SHARE_RNG_CAT xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/schemas/rng/docbookxi.schemas/rng \ docbookxi.schemas/rng $SHARE_RNG_CAT xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/schemas/rng/docbookxi.schemas/rng \ docbookxi.schemas/rng $SHARE_RNG_CAT xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/schemas/rng/docbook.rnc \ docbook.rnc $SHARE_RNG_CAT xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/schemas/rng/docbook.rnc \ docbook.rnc $SHARE_RNG_CAT xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/schemas/rng/docbookxi.rnc \ docbookxi.rnc $SHARE_RNG_CAT xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/schemas/rng/docbookxi.rnc \ docbookxi.rnc $SHARE_RNG_CAT xmlcatalog --noout --create $SHARE_DOC_SCHEMA/sch/5.1/catalog.xml xmlcatalog --noout --add uri \ http://docbook.org/xml/5.1/schemas/sch/docbook.schemas/sch \ docbook.schemas/sch $SHARE_DOC_SCHEMA/sch/5.1/catalog.xml xmlcatalog --noout --add uri \ $OASIS_XML_DIR/5.1/schemas/sch/docbook.schemas/sch \ docbook.schemas/sch $SHARE_DOC_SCHEMA/sch/5.1/catalog.xml xmlcatalog --noout --add delegatePublic \ "-//OASIS//DTD DocBook XML 5.1//EN" \ file://$SHARE_DOC_SCHEMA/dtd/5.1/catalog.xml \ /etc/xml/catalog xmlcatalog --noout --add delegateSystem \ http://docbook.org/xml/5.1/dtd/ \ file://$SHARE_DOC_SCHEMA/dtd/5.1/catalog.xml \ /etc/xml/catalog xmlcatalog --noout --add delegateURI \ http://docbook.org/xml/5.1/dtd/ \ file://$SHARE_DOC_SCHEMA/dtd/5.1/catalog.xml \ /etc/xml/catalog xmlcatalog --noout --add delegateURI \ http://docbook.org/xml/5.1/rng/ \ file://$SHARE_RNG_CAT \ /etc/xml/catalog xmlcatalog --noout --add delegateURI \ http://docbook.org/xml/5.1/sch/ \ file://$SHARE_DOC_SCHEMA/sch/5.1/catalog.xml \ /etc/xml/catalog xmlcatalog --noout --add delegateURI \ http://docbook.org/xml/5.1/xsd/ \ file://$SHARE_DOC_SCHEMA/xsd/5.1/catalog.xml \ /etc/xml/catalog #--------------------------------------------------------------------- cd / rm -fr $BUILDDIR #--------------------------------------------------------------------- # 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 = tbd url_home = tbd url_lfs = http://www.linuxfromscratch.org/blfs/view/svn/pst/\ docbook51.html url_archive = http://docs.oasis-open.org/docbook/docbook/v5.1/os/\ docbook-v5.1-os.zip #--------------------------------------------------------------------- [history] 210226 Added package. Started with 5.1.