================================ docbook-xml-simple-dtd-4124:source=4.1.2.4-1 cvc rdiff docbook-xml-simple-dtd-4124 -1 /weasel.rpath.org@wgl:3-devel/4.1.2.4-1 ================================ 4.1.2.4-1 Filip Brcic (brcha@xxxxxxxxxxxx) Tue Jun 29 13:52:52 2010 docbook-xml-simple-dtd 4.1.2.4 docbook-xml-simple-dtd-4124.recipe: new --- /dev/null +++ docbook-xml-simple-dtd-4124.recipe @@ -0,0 +47 @@ +# +# Copyright (c) 2010 Weasel GNU/Linux [Filip Brcic (brcha@xxxxxxxxxxxx)] +# Distributed under the terms of the GNU General Public License v3 +# + +loadSuperClass('sgmlcatalog') +class DocbookXmlSimpleDtd4124(SgmlCatalogRecipe): + name = 'docbook-xml-simple-dtd-4124' + version = '4.1.2.4' + + buildRequires = [ + 'build-docbook-catalog:runtime', 'unzip:runtime', + ] + + shortDesc = 'Docbook DTD for XML' + url = 'http://www.oasis-open.org/docbook/' + licenses = [ 'as-is' ] + categories = [ 'Applications/Text' ] + + def setup(r): + r.addArchive('mirror://gentoo/sdb4124.zip', + dir='%(name)s-%(version)s') + + r.macros.targetdir = '%(datadir)s/sgml/docbook/' + r.name.replace('docbook-', '') + + r.Install('*.{dtd,mod,css}', '%(targetdir)s/') + + r.addSource('docbook-xml-simple-dtd-4.1.2.4.catalog', + dest='%(targetdir)s/catalog') + + r.Install('ent/*.ent', '%(targetdir)s/ent/') + + r.Doc('README', 'ChangeLog', 'LostLog', 'COPYRIGHT') + + r.sgmlCatalogInclude('%(sysconfdir)s/sgml/xml-simple-dtd-%(version)s.cat', + '%(targetdir)s/catalog') + + postInstUpdScr = r.sgmlPostInstall() + postEraseScr = r.sgmlPostErase() + + r.ScriptPostInstall(contents=postInstUpdScr) + r.ScriptPostUpdate(contents=postInstUpdScr) + r.ScriptPostErase(contents=postEraseScr) + + # Require sgml-common for post-scripts + r.Requires('sgml-common:runtime', + '%(targetdir)s/catalog') docbook-xml-simple-dtd-4.1.2.4.catalog: new --- /dev/null +++ docbook-xml-simple-dtd-4.1.2.4.catalog @@ -0,0 +28 @@ + -- ...................................................................... -- + -- Catalog data for Simplified DocBook XML V4.1.2.4 .................................... -- + -- File catalog ..................................................... -- + + + -- ...................................................................... -- + -- Simplified DocBook driver file .................................................. -- + +PUBLIC "-//Norman Walsh//DTD Simplified DocBook XML V4.1.2.4//EN" "sdocbook.dtd" + + -- ...................................................................... -- + -- Simplified DocBook modules ...................................................... -- + +PUBLIC "-//Norman Walsh//DTD Simplified DocBook XML RefEntry V4.1.2.4//EN" "sdocbookref.dtd" +PUBLIC "-//Norman Walsh//ELEMENTS Simplified DocBook XML Document Hierarchy V4.1.2.4//EN" "sdbhier.mod" +PUBLIC "-//Norman Walsh//ELEMENTS Simplified DocBook XML Information Pool V4.1.2.4//EN" "sdbpool.mod" +PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Inclusions V4.1.2.4//EN" "sinclist.mod" +PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Character Entity Sets V4.1.2.4//EN" "sdbcent.mod" + + -- ...................................................................... -- + -- ISO entity sets ...................................................... -- + +PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ent/iso-num.ent" +PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ent/iso-pub.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ent/iso-lat1.ent" + + -- End of catalog data for Simplified DocBook XML V4.1.2.4 ............................. -- + -- ...................................................................... -- sdb4124.zip: new Committed by: brcha