# docbook-dtd45/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-dtd31 # Just to set build order sgml-common:strict unzip #--------------------------------------------------------------------- [build] BUILDDIR=/tmp/docbook-dtd45 rm -fr $BUILDDIR mkdir $BUILDDIR cd $BUILDDIR #--------------------------------------------------------------------- unzip $PKGDIR_SPECIAL/docbook-4.5.zip sed -e '/ISO 8879/d' -e '/gml/d' -i docbook.cat chown -R root.root . #--------------------------------------------------------------------- install -v -d /usr/share/sgml/docbook/sgml-dtd-4.5 install -v docbook.cat \ /usr/share/sgml/docbook/sgml-dtd-4.5/catalog cp -v -af *.dtd *.mod *.dcl \ /usr/share/sgml/docbook/sgml-dtd-4.5 install-catalog --add \ /etc/sgml/sgml-docbook-dtd-4.5.cat \ /usr/share/sgml/docbook/sgml-dtd-4.5/catalog install-catalog --add /etc/sgml/sgml-docbook-dtd-4.5.cat \ /etc/sgml/sgml-docbook.cat #--------------------------------------------------------------------- cat >> /usr/share/sgml/docbook/sgml-dtd-4.5/catalog << "END" -- Begin Single Major Version catalog changes -- PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd" PUBLIC "-//OASIS//DTD DocBook V4.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-4.5-dtd.html url_archive = http://ftp.slackware.com/pub/blfs/9.1/d/docbook-4.5.zip alt_archive = http://ftp.oregonstate.edu/pub/blfs/6.3/d/\ docbook-4.5.zip #--------------------------------------------------------------------- [history] 210226 Added package. Started with 4.5.