1eb8dc403SDave CobbleySUMMARY = "XSL stylesheets for processing DocBook XML to various output formats" 2eb8dc403SDave CobbleyHOMEPAGE = "http://docbook.sourceforge.net" 3eb8dc403SDave CobbleyLICENSE = "XSL" 4eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://COPYING;md5=6beadd98f9c54ab0c387e14211ee4d0e" 5eb8dc403SDave Cobbley 6eb8dc403SDave CobbleySRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \ 7eb8dc403SDave Cobbley file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \ 8eb8dc403SDave Cobbley" 9eb8dc403SDave Cobbley 10eb8dc403SDave CobbleySRC_URI[md5sum] = "b48cbf929a2ad85e6672f710777ca7bc" 11eb8dc403SDave CobbleySRC_URI[sha256sum] = "725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968" 12eb8dc403SDave Cobbley 13eb8dc403SDave CobbleyUPSTREAM_CHECK_URI = "http://sourceforge.net/projects/docbook/files/docbook-xsl/" 14eb8dc403SDave Cobbley# Reject versions ending in .0 as those are release candidates 15eb8dc403SDave CobbleyUPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+(?!\.0)\.\d+)/" 16eb8dc403SDave Cobbley 17eb8dc403SDave CobbleyS = "${WORKDIR}/docbook-xsl-${PV}" 18eb8dc403SDave Cobbley 1919323693SBrad Bishopinherit allarch xmlcatalog 20eb8dc403SDave Cobbley 21eb8dc403SDave Cobbleydo_configure (){ 22eb8dc403SDave Cobbley : 23eb8dc403SDave Cobbley} 24eb8dc403SDave Cobbley 25eb8dc403SDave Cobbleydo_compile (){ 26eb8dc403SDave Cobbley : 27eb8dc403SDave Cobbley} 28eb8dc403SDave Cobbley 29eb8dc403SDave Cobbleydo_install () { 30eb8dc403SDave Cobbley install -v -m755 -d ${D}${datadir}/xml/docbook/xsl-stylesheets-${PV} 31eb8dc403SDave Cobbley ln -s xsl-stylesheets-${PV} ${D}${datadir}/xml/docbook/xsl-stylesheets 32eb8dc403SDave Cobbley 33eb8dc403SDave Cobbley cp -v -R VERSION assembly common eclipse epub epub3 fo \ 34eb8dc403SDave Cobbley highlighting html htmlhelp images javahelp lib manpages \ 35eb8dc403SDave Cobbley params profiling roundtrip slides template webhelp website \ 36eb8dc403SDave Cobbley xhtml xhtml-1_1 xhtml5 catalog.xml \ 37eb8dc403SDave Cobbley ${D}${datadir}/xml/docbook/xsl-stylesheets-${PV} 38eb8dc403SDave Cobbley 39eb8dc403SDave Cobbley ln -s VERSION ${D}/${datadir}/xml/docbook/xsl-stylesheets-${PV}/VERSION.xsl 40eb8dc403SDave Cobbley 4119323693SBrad Bishop install -d ${D}${docdir}/${BPN} 4219323693SBrad Bishop install -v -m644 README RELEASE-NOTES* NEWS* ${D}${docdir}/${BPN} 43eb8dc403SDave Cobbley} 44eb8dc403SDave Cobbley 45*213cb269SPatrick WilliamsRDEPENDS:${PN} += "perl" 46*213cb269SPatrick WilliamsFILES:${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml" 47*213cb269SPatrick WilliamsFILES:${PN}-doc = "${datadir}/doc/*" 4819323693SBrad Bishop 4919323693SBrad BishopXMLCATALOGS = "${datadir}/xml/docbook/xsl-stylesheets-${PV}/catalog.xml" 5019323693SBrad Bishop 5119323693SBrad BishopBBCLASSEXTEND = "native" 52