curl: Update from 7.50.1 to 7.50.2, enable http2
[termux-packages] / packages / libcurl / build.sh
1 TERMUX_PKG_HOMEPAGE=http://curl.haxx.se/
2 TERMUX_PKG_DESCRIPTION="Easy-to-use client-side URL transfer library"
3 TERMUX_PKG_DEPENDS="openssl, libnghttp2"
4 TERMUX_PKG_VERSION=7.50.2
5 TERMUX_PKG_SRCURL=http://curl.askapache.com/download/curl-${TERMUX_PKG_VERSION}.tar.bz2
6 TERMUX_PKG_SHA256=0c72105df4e9575d68bcf43aea1751056c1d29b1040df6194a49c5ac08f8e233
7 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ssl --without-libidn"
8 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-ca-bundle=$TERMUX_PREFIX/etc/tls/cert.pem"
9 TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-nghttp2"
10 TERMUX_PKG_RM_AFTER_INSTALL="bin/curl-config share/man/man1/curl-config.1"