# docbook-dtd31/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 essentially 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] sgml-common:strict unzip #--------------------------------------------------------------------- [build] BUILDDIR=/tmp/docbook-dtd31 rm -fr $BUILDDIR mkdir $BUILDDIR cd $BUILDDIR unzip $PKGDIR_SPECIAL/docbk31.zip CAT31DIR=/usr/share/sgml/docbook/sgml-dtd-3.1 DTDCAT31=$CAT31DIR/catalog SGML31_DOTCAT=/etc/sgml/sgml-docbook-dtd-3.1.cat sed -e '/ISO 8879/d' \ -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' \ -i docbook.cat install -v -d -m755 $CAT31DIR chown -R root.root . install -v docbook.cat $DTDCAT31 cp -v -af *.dtd *.mod *.dcl $CAT31DIR install-catalog --add $SGML31_DOTCAT $DTDCAT31 install-catalog --add $SGML31_DOTCAT /etc/sgml/sgml-docbook.cat cat >> $DTDCAT31 << "END" -- Begin Single Major Version catalog changes -- PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd" -- End Single Major Version catalog changes -- END 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 = n/a url_home = tbd url_lfs = http://www.linuxfromscratch.org/blfs/view/svn/pst/\ docbook-3.1-dtd.html url_archive = http://www.oasis-open.org/docbook/sgml/3.1/docbk31.zip #--------------------------------------------------------------------- [history] 210226 Added package. Started with 3.1.