summaryrefslogtreecommitdiffstats
path: root/base/docbook-xsl/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/docbook-xsl/Pkgfile')
-rw-r--r--base/docbook-xsl/Pkgfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/base/docbook-xsl/Pkgfile b/base/docbook-xsl/Pkgfile
new file mode 100644
index 000000000..efb554383
--- /dev/null
+++ b/base/docbook-xsl/Pkgfile
@@ -0,0 +1,34 @@
+# Description: Transformation XML stylesheets pour Docbook-xml.
+# URL: http://scrollkeeper.sourceforge.net/docbook.shtml
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libxslt, libxml2, docbook-xml
+
+name=docbook-xsl
+version=1.74.0
+release=1
+source=(http://downloads.sourceforge.net/docbook/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ install -v -m755 -d $PKG/usr/share/xml/docbook/xsl-stylesheets-$version/{common,params}
+ cp -a common/*.{dtd,ent,xml,xsl} \
+ $PKG/usr/share/xml/docbook/xsl-stylesheets-$version/common/
+ cp -a params/*.xml \
+ $PKG/usr/share/xml/docbook/xsl-stylesheets-$version/params/
+ for i in fo highlighting html roundtrip
+ do
+ mkdir -p $PKG/usr/share/xml/docbook/xsl-stylesheets-$version/$i
+ cp -a $i/*.{xml,xsl} \
+ $PKG/usr/share/xml/docbook/xsl-stylesheets-$version/$i/
+ done
+ for i in eclipse htmlhelp javahelp lib manpages profiling template \
+ website xhtml
+ do
+ mkdir -p $PKG/usr/share/xml/docbook/xsl-stylesheets-$version/$i
+ cp -a $i/*.xsl $PKG/usr/share/xml/docbook/xsl-stylesheets-$version/$i/
+ done
+ # copy VERSION (required)
+ cp VERSION $PKG/usr/share/xml/docbook/xsl-stylesheets-$version/
+ chown 0:0 -R $PKG
+}