blob: beda0abe951dda8ca8aabda0ae18fd6fb87fae1a [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001SUMMARY = "XSL stylesheets for processing DocBook XML to various output formats"
2HOMEPAGE = "http://docbook.sourceforge.net"
3LICENSE = "XSL"
4LIC_FILES_CHKSUM = "file://COPYING;md5=6beadd98f9c54ab0c387e14211ee4d0e"
5
6SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \
Patrick Williamsc0f7c042017-02-23 20:41:17 -06007 file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \
8"
9
10SRC_URI[md5sum] = "b48cbf929a2ad85e6672f710777ca7bc"
11SRC_URI[sha256sum] = "725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968"
12
13UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/docbook/files/docbook-xsl/"
14# Reject versions ending in .0 as those are release candidates
15UPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+(?!\.0)\.\d+)/"
16
17S = "${WORKDIR}/docbook-xsl-${PV}"
18
Brad Bishop19323692019-04-05 15:28:33 -040019inherit allarch xmlcatalog
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020
Patrick Williamsc0f7c042017-02-23 20:41:17 -060021do_configure (){
22 :
23}
24
25do_compile (){
26 :
27}
28
29do_install () {
Patrick Williamsc0f7c042017-02-23 20:41:17 -060030 install -v -m755 -d ${D}${datadir}/xml/docbook/xsl-stylesheets-${PV}
31 ln -s xsl-stylesheets-${PV} ${D}${datadir}/xml/docbook/xsl-stylesheets
32
33 cp -v -R VERSION assembly common eclipse epub epub3 fo \
34 highlighting html htmlhelp images javahelp lib manpages \
35 params profiling roundtrip slides template webhelp website \
36 xhtml xhtml-1_1 xhtml5 catalog.xml \
37 ${D}${datadir}/xml/docbook/xsl-stylesheets-${PV}
38
39 ln -s VERSION ${D}/${datadir}/xml/docbook/xsl-stylesheets-${PV}/VERSION.xsl
40
Brad Bishop19323692019-04-05 15:28:33 -040041 install -d ${D}${docdir}/${BPN}
42 install -v -m644 README RELEASE-NOTES* NEWS* ${D}${docdir}/${BPN}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060043}
44
Patrick Williams213cb262021-08-07 19:21:33 -050045RDEPENDS:${PN} += "perl"
46FILES:${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml"
47FILES:${PN}-doc = "${datadir}/doc/*"
Brad Bishop19323692019-04-05 15:28:33 -040048
49XMLCATALOGS = "${datadir}/xml/docbook/xsl-stylesheets-${PV}/catalog.xml"
50
51BBCLASSEXTEND = "native"