wok-6.x rev 15268

libxml2, libxslt: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 11:39:47 2013 +0000 (2013-09-25)
parents 644c871a432b
children 876d33bfd889
files libxml2-dev/receipt libxml2-python/receipt libxml2-tools/receipt libxml2/receipt libxslt-dev/receipt libxslt-python/receipt libxslt/receipt
line diff
     1.1 --- a/libxml2-dev/receipt	Wed Sep 25 11:22:57 2013 +0000
     1.2 +++ b/libxml2-dev/receipt	Wed Sep 25 11:39:47 2013 +0000
     1.3 @@ -5,11 +5,13 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="XML C parser and toolkit devel files."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +LICENSE="MIT"
     1.8  WANTED="libxml2"
     1.9 -DEPENDS="libxml2-tools"
    1.10  WEB_SITE="http://xmlsoft.org/"
    1.11  HOST_ARCH="i486 arm"
    1.12  
    1.13 +DEPENDS="libxml2-tools"
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
     2.1 --- a/libxml2-python/receipt	Wed Sep 25 11:22:57 2013 +0000
     2.2 +++ b/libxml2-python/receipt	Wed Sep 25 11:39:47 2013 +0000
     2.3 @@ -5,6 +5,7 @@
     2.4  CATEGORY="development"
     2.5  SHORT_DESC="Libxml2 adapter for the Python."
     2.6  MAINTAINER="pascal.bellard@slitaz.org"
     2.7 +LICENSE="MIT"
     2.8  WEB_SITE="http://xmlsoft.org/"
     2.9  WANTED="libxml2"
    2.10  
     3.1 --- a/libxml2-tools/receipt	Wed Sep 25 11:22:57 2013 +0000
     3.2 +++ b/libxml2-tools/receipt	Wed Sep 25 11:39:47 2013 +0000
     3.3 @@ -5,11 +5,13 @@
     3.4  CATEGORY="system-tools"
     3.5  SHORT_DESC="The xmllint tester and xmlcatalog parser utility."
     3.6  MAINTAINER="pankso@slitaz.org"
     3.7 +LICENSE="MIT"
     3.8  WEB_SITE="http://xmlsoft.org/"
     3.9 -DEPENDS="libxml2"
    3.10  WANTED="libxml2"
    3.11  HOST_ARCH="i486 arm"
    3.12  
    3.13 +DEPENDS="libxml2"
    3.14 +
    3.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.16  genpkg_rules()
    3.17  {
     4.1 --- a/libxml2/receipt	Wed Sep 25 11:22:57 2013 +0000
     4.2 +++ b/libxml2/receipt	Wed Sep 25 11:39:47 2013 +0000
     4.3 @@ -5,6 +5,7 @@
     4.4  CATEGORY="system-tools"
     4.5  SHORT_DESC="Libxml2 is the XML C parser and toolkit."
     4.6  MAINTAINER="pankso@slitaz.org"
     4.7 +LICENSE="MIT"
     4.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.9  WEB_SITE="http://xmlsoft.org/"
    4.10  WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
    4.11 @@ -36,7 +37,7 @@
    4.12  		--with-history \
    4.13  	$CONFIGURE_ARGS &&
    4.14  	make &&
    4.15 -	make DESTDIR=$DESTDIR install
    4.16 +	make DESTDIR=$DESTDIR install 2>&1 | grep -v "can't stat './*.html':"
    4.17  }
    4.18  
    4.19  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.1 --- a/libxslt-dev/receipt	Wed Sep 25 11:22:57 2013 +0000
     5.2 +++ b/libxslt-dev/receipt	Wed Sep 25 11:39:47 2013 +0000
     5.3 @@ -5,22 +5,24 @@
     5.4  CATEGORY="development"
     5.5  SHORT_DESC="XSLT devel files support for libxml2."
     5.6  MAINTAINER="pankso@slitaz.org"
     5.7 -DEPENDS="libxslt libxslt-python libgcrypt-dev libxml2-dev zlib-dev"
     5.8 +LICENSE="MIT"
     5.9  WANTED="libxslt"
    5.10  WEB_SITE="http://xmlsoft.org/"
    5.11  
    5.12 +DEPENDS="libxslt libxslt-python libgcrypt-dev libxml2-dev zlib-dev"
    5.13 +
    5.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.15  genpkg_rules()
    5.16  {
    5.17  	mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
    5.18  	
    5.19 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    5.20 -	cp -a $_pkg/usr/lib/*.sh $fs/usr/lib
    5.21 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    5.22 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    5.23 +	cp -a $install/usr/lib/*.sh $fs/usr/lib
    5.24 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.25  	
    5.26 -	cp $_pkg/usr/bin/xslt-config $fs/usr/bin
    5.27 +	cp $install/usr/bin/xslt-config $fs/usr/bin
    5.28  	chmod +x $fs/usr/bin/*
    5.29  	
    5.30 -	cp -a $_pkg/usr/include $fs/usr
    5.31 -	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    5.32 +	cp -a $install/usr/include $fs/usr
    5.33 +	cp -a $install/usr/share/aclocal $fs/usr/share
    5.34  }
     6.1 --- a/libxslt-python/receipt	Wed Sep 25 11:22:57 2013 +0000
     6.2 +++ b/libxslt-python/receipt	Wed Sep 25 11:39:47 2013 +0000
     6.3 @@ -5,16 +5,18 @@
     6.4  CATEGORY="development"
     6.5  SHORT_DESC="python module for libxslt"
     6.6  MAINTAINER="slaxemulator@gmail.com"
     6.7 -DEPENDS="libxslt python"
     6.8 +LICENSE="MIT"
     6.9  WANTED="libxslt"
    6.10  WEB_SITE="http://xmlsoft.org/"
    6.11  
    6.12 +DEPENDS="libxslt python"
    6.13 +
    6.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.15  genpkg_rules()
    6.16  {
    6.17  	mkdir -p $fs/usr/lib
    6.18  	# Python module
    6.19  	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    6.20 -	cp -a $_pkg/usr/lib/$PYTHON_LIB  $fs/usr/lib
    6.21 +	cp -a $install/usr/lib/$PYTHON_LIB  $fs/usr/lib
    6.22  }
    6.23  
     7.1 --- a/libxslt/receipt	Wed Sep 25 11:22:57 2013 +0000
     7.2 +++ b/libxslt/receipt	Wed Sep 25 11:39:47 2013 +0000
     7.3 @@ -5,26 +5,28 @@
     7.4  CATEGORY="system-tools"
     7.5  SHORT_DESC="XSLT support for libxml2."
     7.6  MAINTAINER="pankso@slitaz.org"
     7.7 -DEPENDS="libgcrypt libxml2 zlib"
     7.8 -BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-dev python-dev"
     7.9 +LICENSE="MIT"
    7.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.11  WEB_SITE="http://www.xmlsoft.org/XSLT/"
    7.12  WGET_URL="ftp://xmlsoft.org/libxslt/$TARBALL"
    7.13  
    7.14 +DEPENDS="libgcrypt libxml2 zlib"
    7.15 +BUILD_DEPENDS="libgcrypt-dev libxml2-dev zlib-dev python-dev"
    7.16 +
    7.17  # Rules to configure and make the package.
    7.18  compile_rules()
    7.19  {
    7.20  	cd $src
    7.21  	./configure $CONFIGURE_ARGS &&
    7.22  	make &&
    7.23 -	make install
    7.24 +	make install 2>&1 | grep -v 'html/index.sgml'
    7.25  }
    7.26  
    7.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.28  genpkg_rules()
    7.29  {
    7.30  	mkdir -p $fs/usr/lib/libxslt-plugins
    7.31 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    7.32 -	cp -a $_pkg/usr/bin $fs/usr
    7.33 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.34 +	cp -a $install/usr/bin $fs/usr
    7.35  	rm $fs/usr/bin/xslt-config
    7.36  }