wok-next diff xmlstarlet/receipt @ rev 20904

libgdata: update bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 30 23:44:42 2018 +0300 (2018-07-30)
parents f463de72afe3
children d5aab818505e
line diff
     1.1 --- a/xmlstarlet/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xmlstarlet/receipt	Mon Jul 30 23:44:42 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xmlstarlet"
     1.8  VERSION="1.6.1"
     1.9 @@ -7,22 +7,22 @@
    1.10  MAINTAINER="al.bobylev@gmail.com"
    1.11  LICENSE="MIT"
    1.12  WEB_SITE="http://xmlstar.sourceforge.net/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WGET_URL="$SF_MIRROR/xmlstar/$TARBALL"
    1.16  
    1.17 -DEPENDS="libxml2 libxslt zlib"
    1.18  BUILD_DEPENDS="libxslt-dev"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 -	./configure $CONFIGURE_ARGS && make && make install
    1.24 +compile_rules() {
    1.25 +	./configure \
    1.26 +		--with-libxml-include-prefix=/usr/include/libxml2/ \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make && make install || return 1
    1.29  
    1.30  	mv $install/usr/bin/xml $install/usr/bin/xmlstarlet
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	copy xmlstarlet
    1.38 +	DEPENDS="libxml2 libxslt zlib"
    1.39  }