Skip to content
Permalink
b0804708f4
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 228 lines (206 sloc) 9.08 KB
#!/usr/bin/env beesh
# BEE_VERSION docbook-xml50-5.0-0
# more info: https://www.docbook.org
SRCURL[0]="https://www.docbook.org/xml/5.0/docbook-5.0.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/schema/{dtd,rng,sch,xsd}/5.0
install -vm644 dtd/* ${D}/usr/share/xml/docbook/schema/dtd/5.0
install -vm644 rng/* ${D}/usr/share/xml/docbook/schema/rng/5.0
install -vm644 sch/* ${D}/usr/share/xml/docbook/schema/sch/5.0
install -vm644 xsd/* ${D}/usr/share/xml/docbook/schema/xsd/5.0
install -vdm755 ${D}/etc/xml
xmlcatalog --noout --create ${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML 5.0//EN" \
"file:///usr/share/xml/docbook/schema/dtd/5.0/docbook.dtd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "system" \
"http://www.oasis-open.org/docbook/xml/5.0/dtd/docbook.dtd" \
"file:///usr/share/xml/docbook/schema/dtd/5.0/docbook.dtd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "system" \
"http://docbook.org/xml/5.0/dtd/docbook.dtd" \
"file:///usr/share/xml/docbook/schema/dtd/5.0/docbook.dtd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" \
"file:///usr/share/xml/docbook/schema/rng/5.0/docbook.rng" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/rng/docbook.rng" \
"file:///usr/share/xml/docbook/schema/rng/5.0/docbook.rng" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" \
"file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/rng/docbookxi.rng" \
"file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/rnc/docbook.rnc" \
"file:///usr/share/xml/docbook/schema/rng/5.0/docbook.rnc" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/rng/docbook.rnc" \
"file:///usr/share/xml/docbook/schema/rng/5.0/docbook.rnc" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/rnc/docbookxi.rnc" \
"file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rnc" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/rng/docbookxi.rnc" \
"file:///usr/share/xml/docbook/schema/rng/5.0/docbookxi.rnc" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/docbook.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/docbook.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/docbook.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/docbookxi.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/docbookxi.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/docbookxi.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/docbookxi.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xi.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/xi.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/xi.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/xi.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/xlink.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/xlink.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/xlink.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xml.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/xml.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/xml.xsd" \
"file:///usr/share/xml/docbook/schema/xsd/5.0/xml.xsd" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/sch/docbook.sch" \
"file:///usr/share/xml/docbook/schema/sch/5.0/docbook.sch" \
${D}/etc/xml/docbook-5.0
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/sch/docbook.sch" \
"file:///usr/share/xml/docbook/schema/sch/5.0/docbook.sch" \
${D}/etc/xml/docbook-5.0
# create the individual catalogs
xmlcatalog --noout --create ${D}/usr/share/xml/docbook/schema/dtd/5.0/catalog.xml
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML 5.0//EN" \
"docbook.dtd" ${D}/usr/share/xml/docbook/schema/dtd/5.0/catalog.xml
xmlcatalog --noout --add "system" \
"http://www.oasis-open.org/docbook/xml/5.0/dtd/docbook.dtd" \
"docbook.dtd" ${D}/usr/share/xml/docbook/schema/dtd/5.0/catalog.xml
xmlcatalog --noout --create ${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/rng/docbook.rng" \
"docbook.rng" \
${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" \
"docbook.rng" \
${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/rng/docbookxi.rng" \
"docbookxi.rng" \
${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" \
"docbookxi.rng" \
${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/rng/docbook.rnc" \
"docbook.rnc" \
${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rnc" \
"docbook.rnc" \
${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/rng/docbookxi.rnc" \
"docbookxi.rnc" \
${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rnc" \
"docbookxi.rnc" \
${D}/usr/share/xml/docbook/schema/rng/5.0/catalog.xml
xmlcatalog --noout --create ${D}/usr/share/xml/docbook/schema/sch/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/sch/docbook.sch" \
"docbook.sch" \
${D}/usr/share/xml/docbook/schema/sch/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/sch/docbook.sch" \
"docbook.sch" \
${D}/usr/share/xml/docbook/schema/sch/5.0/catalog.xml
xmlcatalog --noout --create ${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/docbook.xsd" \
"docbook.xsd" \
${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd" \
"docbook.xsd" \
${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/docbookxi.xsd" \
"docbookxi.xsd" \
${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/docbookxi.xsd" \
"docbookxi.xsd" \
${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/xlink.xsd" \
"xlink.xsd" \
${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd" \
"xlink.xsd" \
${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.0/xsd/xml.xsd" \
"xml.xsd" \
${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.0/xsd/xml.xsd" \
"xml.xsd" \
${D}/usr/share/xml/docbook/schema/xsd/5.0/catalog.xml
}
#mee_install_post() {
# exit
#}