wok-4.x rev 9331

Fix: docbook-xml (we need 4.2 DTD file to cook kdelibs)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 18 13:16:28 2011 +0100 (2011-03-18)
parents 1f49437c40eb
children cc657737cde7
files docbook-xml/receipt
line diff
     1.1 --- a/docbook-xml/receipt	Fri Mar 18 13:14:14 2011 +0100
     1.2 +++ b/docbook-xml/receipt	Fri Mar 18 13:16:28 2011 +0100
     1.3 @@ -21,11 +21,17 @@
     1.4  	cp -v -af $src/docbook.cat $src/*.dtd $src/ent/ $src/*.mod \
     1.5  		$fs/usr/share/xml/docbook/xml-dtd-$VERSION
     1.6  
     1.7 +	# 4.2 files needed to build at least kdelibs.
     1.8 +	mkdir -p $fs/usr/share/xml/docbook/xml-dtd-4.2
     1.9 +	cd $fs/usr/share/xml/docbook/xml-dtd-4.2
    1.10 +	wget http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip
    1.11 +	unzip docbook-xml-4.2.zip && rm docbook-xml-4.2.zip
    1.12 +	cd $WOK/$PACKAGE
    1.13  	
    1.14  	xmlcatalog --noout --create $fs/etc/xml/docbook
    1.15  	xmlcatalog --noout --create $fs/etc/xml/catalog
    1.16  
    1.17 -	for DTDVERSION in 4.1.2 4.2 4.3 4.4
    1.18 +	for DTDVERSION in 4.1.2 4.5 4.3 4.4
    1.19  	do
    1.20  	  xmlcatalog --noout --add "public" \
    1.21  	    "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
    1.22 @@ -48,8 +54,6 @@
    1.23  	    "file:///etc/xml/docbook" \
    1.24  	    $fs/etc/xml/catalog
    1.25  	done
    1.26 -
    1.27 -
    1.28  }
    1.29  
    1.30  # Pre and post install commands for Tazpkg.