Skip to content
Permalink
master
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 132 lines (113 sloc) 5.06 KB
#!/usr/bin/env beesh
# BEE_VERSION docbook-xml51-5.1-1
# more info: https://www.docbook.org
# SRCURL[0]="https://www.docbook.org/xml/5.1/docbook-v5.1-os.zip"
SRCURL[0]="https://beehive.molgen.mpg.de/d8bea8ddfc5743578a31cb18f9ae1f5a/docbook-v5.1-os.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/{rng,sch}/5.1
install -m644 schemas/rng/* ${D}/usr/share/xml/docbook/schema/rng/5.1
install -m644 schemas/sch/* ${D}/usr/share/xml/docbook/schema/sch/5.1
install -vdm755 ${D}/usr/bin
install -m755 tools/db4-entities.pl ${D}/usr/bin
install -vdm755 ${D}/usr/share/xml/docbook/stylesheet/docbook5
install -m644 tools/db4-upgrade.xsl ${D}/usr/share/xml/docbook/stylesheet/docbook5
install -vdm755 ${D}/etc/xml
xmlcatalog --noout --create ${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/rng/docbook.rng" \
"file:///usr/share/xml/docbook/schema/rng/5.1/docbook.rng" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/rng/docbook.rng" \
"file:///usr/share/xml/docbook/schema/rng/5.1/docbook.rng" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/rng/docbookxi.rng" \
"file:///usr/share/xml/docbook/schema/rng/5.1/docbookxi.rng" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/rng/docbookxi.rng" \
"file:///usr/share/xml/docbook/schema/rng/5.1/docbookxi.rng" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/rnc/docbook.rnc" \
"file:///usr/share/xml/docbook/schema/rng/5.1/docbook.rnc" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/rng/docbook.rnc" \
"file:///usr/share/xml/docbook/schema/rng/5.1/docbook.rnc" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/rnc/docbookxi.rnc" \
"file:///usr/share/xml/docbook/schema/rng/5.1/docbookxi.rnc" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/rng/docbookxi.rnc" \
"file:///usr/share/xml/docbook/schema/rng/5.1/docbookxi.rnc" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/sch/docbook.sch" \
"file:///usr/share/xml/docbook/schema/sch/5.1/docbook.sch" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/sch/docbook.sch" \
"file:///usr/share/xml/docbook/schema/sch/5.1/docbook.sch" \
${D}/etc/xml/docbook-5.1
xmlcatalog --noout --create ${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/schemas/rng/docbook.schemas/rng" \
"docbook.schemas/rng" \
${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/schemas/rng/docbook.schemas/rng" \
"docbook.schemas/rng" \
${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/schemas/rng/docbookxi.schemas/rng" \
"docbookxi.schemas/rng" \
${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/schemas/rng/docbookxi.schemas/rng" \
"docbookxi.schemas/rng" \
${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/schemas/rng/docbook.rnc" \
"docbook.rnc" \
${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/schemas/rng/docbook.rnc" \
"docbook.rnc" \
${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/schemas/rng/docbookxi.rnc" \
"docbookxi.rnc" \
${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/schemas/rng/docbookxi.rnc" \
"docbookxi.rnc" \
${D}/usr/share/xml/docbook/schema/rng/5.1/catalog.xml
xmlcatalog --noout --create ${D}/usr/share/xml/docbook/schema/sch/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://docbook.org/xml/5.1/schemas/sch/docbook.schemas/sch" \
"docbook.schemas/sch" \
${D}/usr/share/xml/docbook/schema/sch/5.1/catalog.xml
xmlcatalog --noout --add "uri" \
"http://www.oasis-open.org/docbook/xml/5.1/schemas/sch/docbook.schemas/sch" \
"docbook.schemas/sch" \
${D}/usr/share/xml/docbook/schema/sch/5.1/catalog.xml
}