wok-next diff xerces-c/receipt @ rev 20855

svgcleaner: up (0.9.5); add oxipng
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 15:41:27 2018 +0300 (2018-06-26)
parents 10df65db91ad
children d5aab818505e
line diff
     1.1 --- a/xerces-c/receipt	Thu Apr 19 13:15:41 2018 +0300
     1.2 +++ b/xerces-c/receipt	Tue Jun 26 15:41:27 2018 +0300
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="xerces-c"
     1.7 -VERSION="3.1.1"
     1.8 +VERSION="3.2.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A validating XML parser written in a portable subset of C++"
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12  LICENSE="Apache"
    1.13 -WEB_SITE="http://xerces.apache.org/xerces-c"
    1.14 +WEB_SITE="http://xerces.apache.org/xerces-c/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://apache.osuosl.org/xerces/c/3/sources/$TARBALL"
    1.18 @@ -14,7 +14,14 @@
    1.19  SPLIT="xerces-c-dev"
    1.20  
    1.21  compile_rules() {
    1.22 -	./configure $CONFIGURE_ARGS &&
    1.23 +	case $ARCH in
    1.24 +		i?86) ARCH_ARGS='--disable-sse2';;
    1.25 +		*)    ARCH_ARGS='';;
    1.26 +	esac
    1.27 +
    1.28 +	./configure \
    1.29 +		$ARCH_ARGS \
    1.30 +		$CONFIGURE_ARGS &&
    1.31  	fix libtool &&
    1.32  	make $MAKEFLAGS &&
    1.33  	make install
    1.34 @@ -22,12 +29,7 @@
    1.35  
    1.36  genpkg_rules() {
    1.37  	case $PACKAGE in
    1.38 -		xerces-c)
    1.39 -			copy @std
    1.40 -			DEPENDS="libcurl openssl icu"
    1.41 -			;;
    1.42 -		*-dev)
    1.43 -			copy @dev
    1.44 -			;;
    1.45 +		xerces-c) copy @std;;
    1.46 +		*-dev)    copy @dev;;
    1.47  	esac
    1.48  }