wok-undigest view docbook-xsl-ns/receipt @ rev 172

Removed gobject-introspection and gobject-introspection-dev. Its in wok now.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 19 13:42:09 2010 +0000 (2010-10-19)
parents 4af789ab716d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="docbook-xsl-ns"
4 VERSION="1.75.2"
5 CATEGORY="development"
6 SHORT_DESC="DocBook XSL (namespaced) stylesheets."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="libxml2-tools libxslt"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://wiki.docbook.org/topic/DocBookXslStylesheets"
11 WGET_URL="http://jaist.dl.sourceforge.net/sourceforge/docbook/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/xml/docbook/stylesheet/$PACKAGE
17 cp -a $src/* $fs/usr/share/xml/docbook/stylesheet/$PACKAGE
18 }
20 # Pre and post install commands for Tazpkg.
21 post_install()
22 {
23 echo -n "Processing post-install commands..."
25 # Create a /etc/xml/catalog file
26 if [ ! -d $1/etc/xml ]; then install -v -m755 -d $1/etc/xml; fi &&
27 if [ ! -f $1/etc/xml/catalog ]; then
28 xmlcatalog --noout --create $1/etc/xml/catalog
29 fi &&
31 xmlcatalog --noout --add "delegateURI" \
32 "http://docbook.sourceforge.net/release/xsl-ns/1.75.2" \
33 "file:///usr/share/xml/docbook/stylesheet/$PACKAGE/catalog.xml" \
34 /etc/xml/catalog
35 xmlcatalog --noout --add "delegateSystem" \
36 "http://docbook.sourceforge.net/release/xsl-ns/1.75.2" \
37 "file:///usr/share/xml/docbook/stylesheet/$PACKAGE/catalog.xml" \
38 /etc/xml/catalog
39 xmlcatalog --noout --add "delegateURI" \
40 "http://docbook.sourceforge.net/release/xsl-ns/current" \
41 "file:///usr/share/xml/docbook/stylesheet/$PACKAGE/catalog.xml" \
42 /etc/xml/catalog &&
43 xmlcatalog --noout --add "delegateSystem" \
44 "http://docbook.sourceforge.net/release/xsl-ns/current" \
45 "file:///usr/share/xml/docbook/stylesheet/$PACKAGE/catalog.xml" \
46 /etc/xml/catalog
47 status
48 }