Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bee-files/docbook-xml45.be0
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
99 lines (87 sloc)
3.38 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env beesh | |
# BEE_VERSION docbook-xml45-4.5-0 | |
# more info: https://www.docbook.org | |
SRCURL[0]="https://www.docbook.org/xml/4.5/docbook-xml-4.5.zip" | |
# PATCHURL+=() | |
build_in_sourcedir | |
# sourcesubdir_append src | |
#mee_extract() { | |
# bee_extract "${@}" | |
#} | |
#mee_patch() { | |
# bee_patch "${@}" | |
#} | |
#mee_configure() { | |
# bee_configure | |
#} | |
mee_build() { | |
: | |
} | |
mee_install() { | |
install -vdm755 ${D}/usr/share/xml/docbook/xml-dtd-4.5 | |
cp -v -af docbook.cat *.dtd ent/ *.mod \ | |
${D}/usr/share/xml/docbook/xml-dtd-4.5 | |
mkdir -pv ${D}/etc/xml | |
xmlcatalog --noout --create ${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//DTD DocBook XML V4.5//EN" \ | |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "rewriteSystem" \ | |
"http://www.oasis-open.org/docbook/xml/4.5" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "rewriteURI" \ | |
"http://www.oasis-open.org/docbook/xml/4.5" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5" \ | |
${D}/etc/xml/docbook | |
for DTDVERSION in 4.1.2 4.2 4.3 4.4; do | |
xmlcatalog --noout --add "public" \ | |
"-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \ | |
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "rewriteSystem" \ | |
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5" \ | |
${D}/etc/xml/docbook | |
xmlcatalog --noout --add "rewriteURI" \ | |
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \ | |
"file:///usr/share/xml/docbook/xml-dtd-4.5" \ | |
${D}/etc/xml/docbook | |
done | |
} | |
#mee_install_post() { | |
# exit | |
#} |