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