2006-02-23 15:26:10 +00:00
|
|
|
# Description: XSL stylesheets for the DocBook DTD and its derivatives
|
|
|
|
# URL: http://docbook.sourceforge.net/projects/xsl/
|
|
|
|
# Packager: Robert McMeekin, rrm3 at rrm3 dot org
|
|
|
|
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
|
|
|
# Depends on: docbook-xml-entities,libxslt
|
|
|
|
|
|
|
|
name=docbook-xsl
|
2006-06-10 15:11:00 +00:00
|
|
|
version=1.70.1
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/docbook/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
XSL_PATH=/usr/share/xml/xsl/docbook/$version
|
|
|
|
install -d -m 0755 $PKG$XSL_PATH
|
|
|
|
cd $name-$version
|
|
|
|
rm -fr {doc{,src},extensions}/ RELEASE-NOTES.xml
|
|
|
|
find . -type d -exec install -d -m 0755 $PKG$XSL_PATH/{} \;
|
|
|
|
install -m 0644 VERSION $PKG$XSL_PATH/
|
|
|
|
|
|
|
|
# dtd gif png xsl xml
|
|
|
|
find . -name '*.[dgpx][imnst][dfgl]' \
|
|
|
|
-exec install -m 0644 {} $PKG$XSL_PATH/{} \;
|
|
|
|
|
|
|
|
cd $PKG$XSL_PATH/..; ln -s $version current
|
|
|
|
}
|