wok-next rev 19833

Add libidn2, up curl
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 05 13:41:40 2017 +0300 (2017-08-05)
parents 1d0504e0d058
children 42f46ff4970b
files curl/receipt libidn2/receipt
line diff
     1.1 --- a/curl/receipt	Sat Aug 05 12:05:22 2017 +0200
     1.2 +++ b/curl/receipt	Sat Aug 05 13:41:40 2017 +0300
     1.3 @@ -12,7 +12,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.lzma"
     1.5  WGET_URL="https://curl.haxx.se/download/$TARBALL"
     1.6  
     1.7 -BUILD_DEPENDS="zlib-dev openssl-dev libidn-dev"
     1.8 +BUILD_DEPENDS="zlib-dev openssl-dev libssh2-dev libidn2-dev"
     1.9  SPLIT="libcurl curl-dev"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12 @@ -31,16 +31,16 @@
    1.13  	case $PACKAGE in
    1.14  		curl)
    1.15  			copy curl
    1.16 -			DEPENDS="libssl libcurl libcrypto zlib"
    1.17 +			DEPENDS="libcrypto libcurl libssl zlib"
    1.18  			;;
    1.19  		libcurl)
    1.20  			copy *.so*
    1.21 -			DEPENDS="libidn libssl zlib libcrypto"
    1.22 +			DEPENDS="libcrypto libidn2 libssh2 libssl zlib"
    1.23  			CAT="network|library"
    1.24  			;;
    1.25  		curl-dev)
    1.26  			copy @dev
    1.27 -			DEPENDS="curl libidn-dev openssl-dev libcrypto-dev zlib-dev"
    1.28 +			DEPENDS="curl libidn2-dev libssh2-dev openssl-dev zlib-dev"
    1.29  			;;
    1.30  	esac
    1.31  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libidn2/receipt	Sat Aug 05 13:41:40 2017 +0300
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="libidn2"
     2.7 +VERSION="2.0.0"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Encode and decode internationalized domain names"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL3 LGPL2.1"
    2.12 +WEB_SITE="https://www.gnu.org/software/libidn/"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.15 +WGET_URL="https://alpha.gnu.org/gnu/libidn/$TARBALL"
    2.16 +
    2.17 +BUILD_DEPENDS="gtk-doc gettext"
    2.18 +SPLIT="libidn2-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	./configure $CONFIGURE_ARGS && make && make install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	case $PACKAGE in
    2.30 +		libidn2) copy @std;;
    2.31 +		*-dev)   copy @dev;;
    2.32 +	esac
    2.33 +}