wok-next diff libxml2/receipt @ rev 19609

libcroco, glib: `mkdir -p /usr/share/gtk-doc/html` before `make install`
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Feb 03 14:37:14 2017 +0200 (2017-02-03)
parents f6332424127f
children 4550df96633d
line diff
     1.1 --- a/libxml2/receipt	Sun Feb 23 00:35:49 2014 +0100
     1.2 +++ b/libxml2/receipt	Fri Feb 03 14:37:14 2017 +0200
     1.3 @@ -1,25 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libxml2"
     1.7 -VERSION="2.8.0"
     1.8 +VERSION="2.9.4"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Libxml2 is the XML C parser and toolkit."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://xmlsoft.org/"
    1.15 -WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18 -DEPENDS="zlib"
    1.19 -BUILD_DEPENDS="zlib-dev python-dev autoconf automake libtool"
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 +WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
    1.22 +
    1.23 +DEPENDS="zlib liblzma"
    1.24 +BUILD_DEPENDS="zlib-dev liblzma-dev python-dev ncurses-dev readline-dev"
    1.25 +# autoconf automake libtool
    1.26 +SPLIT="libxml2-tools libxml2-python libxml2-dev"
    1.27  
    1.28  # When cross compiling Python is installed in chroot and is used
    1.29  # by cross tools, cook dont need to install it in /usr/cross/arm
    1.30  # Building with LZMA support is buggy and build fails
    1.31  case "$ARCH" in
    1.32  	arm)
    1.33 -		BUILD_DEPENDS="" 
    1.34 +		BUILD_DEPENDS=""
    1.35 +		DEPENDS="zlib"
    1.36  		ARCH_ARGS="--without-lzma" ;;
    1.37  esac
    1.38  
    1.39 @@ -29,22 +33,21 @@
    1.40  # and binaries are splited into libxml2-tools
    1.41  compile_rules()
    1.42  {
    1.43 -	autoreconf -fi
    1.44 +#	autoreconf -fi
    1.45  	./configure \
    1.46 -		--prefix=/usr \
    1.47 -		--infodir=/usr/share/info \
    1.48 -		--mandir=/usr/share/man \
    1.49 +		--disable-static \
    1.50  		--with-html-dir=/usr/share/doc \
    1.51  		--with-threads \
    1.52  		--with-history \
    1.53  	$CONFIGURE_ARGS $ARCH_ARGS &&
    1.54  	make &&
    1.55 -	make DESTDIR=$DESTDIR install 2>&1 | grep -v "can't stat './..html':"
    1.56 +	make DESTDIR=$DESTDIR install
    1.57 +
    1.58 +	find $install -name '*.sh' -exec chmod +x \{\} \;
    1.59  }
    1.60  
    1.61  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.62  genpkg_rules()
    1.63  {
    1.64 -	mkdir -p $fs/usr/lib
    1.65 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.66 +	cook_copy_files libxml2.so*
    1.67  }