2009-03-22 02:29:28 +01:00
|
|
|
# Template file for 'docbook-xml'
|
|
|
|
pkgname=docbook-xsl
|
2012-11-24 07:56:39 +01:00
|
|
|
version=1.77.1
|
2012-11-27 01:39:33 +01:00
|
|
|
revision=2
|
2013-04-12 09:46:44 +02:00
|
|
|
makedepends="xmlcatmgr docbook-xml>=4.2"
|
2009-03-22 02:29:28 +01:00
|
|
|
short_desc="Docbook XSL modular stylesheet"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-11-24 07:56:39 +01:00
|
|
|
homepage="http://docbook.sourceforge.net/"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/docbook/$pkgname-$version.tar.bz2"
|
|
|
|
checksum=24c6c4413f71f9a2c000fa21be76c58f53db1baa42f17b02845e1c2c0aeb7cd5
|
2009-03-22 02:29:28 +01:00
|
|
|
long_desc="
|
|
|
|
The DocBook XSL stylesheets provide a serie of ready-to-use templates to
|
|
|
|
process documents based on the DocBook XML DTD. They can generate different
|
|
|
|
types of output files, like XHTML, slides, manpages, JavaDoc...
|
|
|
|
|
|
|
|
They are written in a modular fashion. Each of the HTML and FO stylesheets
|
|
|
|
starts with a driver file that assembles a collection of component files
|
|
|
|
into a complete stylesheet. This modular design puts similar things together
|
|
|
|
into smaller files that are easier to write and maintain than one big
|
|
|
|
stylesheet."
|
|
|
|
|
2012-02-27 18:43:54 +01:00
|
|
|
do_install() {
|
2009-03-22 02:29:28 +01:00
|
|
|
local xslmods="common eclipse epub fo highlighting html htmlhelp \
|
|
|
|
images javahelp lib manpages params profiling \
|
|
|
|
roundtrip slides website xhtml xhtml-1_1"
|
|
|
|
|
2012-11-24 07:56:39 +01:00
|
|
|
vinstall catalog.xml 644 usr/share/xsl/docbook
|
|
|
|
vinstall VERSION 644 usr/share/xsl/docbook
|
2012-11-27 01:39:33 +01:00
|
|
|
vinstall VERSION.xsl 644 usr/share/xsl/docbook
|
|
|
|
|
2009-03-22 02:29:28 +01:00
|
|
|
for dir in ${xslmods}; do
|
2012-11-24 07:56:39 +01:00
|
|
|
vmkdir usr/share/xsl/docbook/${dir}
|
2009-03-22 02:29:28 +01:00
|
|
|
cp -a ${dir}/* ${DESTDIR}/usr/share/xsl/docbook/${dir}/
|
|
|
|
done
|
2012-11-24 07:56:39 +01:00
|
|
|
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
2009-03-22 02:29:28 +01:00
|
|
|
}
|
2013-04-12 09:46:44 +02:00
|
|
|
|
|
|
|
docbook-xsl_package() {
|
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
|
|
|
xml_entries="nextCatalog /usr/share/xsl/docbook/catalog.xml --"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|