wok-next diff xar/receipt @ rev 20931

pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 23 08:03:04 2018 +0300 (2018-08-23)
parents e6615350078d
children d5aab818505e
line diff
     1.1 --- a/xar/receipt	Wed Feb 28 16:28:07 2018 +0200
     1.2 +++ b/xar/receipt	Thu Aug 23 08:03:04 2018 +0300
     1.3 @@ -1,32 +1,35 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="xar"
     1.7 -VERSION="1.5.2"
     1.8 +VERSION="1.6.1"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="eXtensible ARchiver"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="BSD"
    1.13 -WEB_SITE="https://code.google.com/archive/p/xar/"
    1.14 +WEB_SITE="https://mackyle.github.io/xar/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xar/$TARBALL"
    1.18 +WGET_URL="https://github.com/downloads/mackyle/xar/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="libxml2-dev openssl-dev zlib-dev bzip2-dev"
    1.21 +BUILD_DEPENDS="libxml2-dev openssl10-dev zlib-dev bzip2-dev"
    1.22  SPLIT="xar-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	./configure $CONFIGURE_ARGS && make && make install
    1.28 +compile_rules() {
    1.29 +	export CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0"
    1.30 +	export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"
    1.31 +
    1.32 +	./configure \
    1.33 +		--disable-static \
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	make install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 +genpkg_rules() {
    1.43  	case $PACKAGE in
    1.44  		xar)
    1.45  			copy @std
    1.46 -			DEPENDS="acl attr bzlib glibc-base openssl libxml2 zlib"
    1.47 +			DEPENDS="bzlib liblzma libxml2 openssl10 zlib"
    1.48  			;;
    1.49  		*-dev) copy @dev;;
    1.50  	esac