From 22f1c0939a0de09b884041a777d0d412a1f1f3ec Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 8 Aug 2009 16:08:00 +0200 Subject: Ajout de docbook-xsl#1.73.2-1 --- base/docbook-xsl/Pkgfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 base/docbook-xsl/Pkgfile (limited to 'base/docbook-xsl/Pkgfile') 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 +} -- cgit v1.2.3-70-g09d2