curl: enable support for gnutls (off) and ssl/libressl (on).
This commit is contained in:
parent
33abed5619
commit
806e27cd6f
|
@ -1,13 +1,14 @@
|
|||
# Template build file for 'curl'.
|
||||
pkgname=curl
|
||||
version=7.44.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="ac_cv_sizeof_off_t=8 --disable-ldaps --without-gssapi
|
||||
--enable-threaded-resolver --enable-ipv6
|
||||
--enable-threaded-resolver --enable-ipv6 $(vopt_with ssl) $(vopt_with gnutls)
|
||||
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
|
||||
hostmakedepends="pkg-config perl groff"
|
||||
makedepends="zlib-devel libidn-devel libressl-devel nghttp2-devel"
|
||||
makedepends="zlib-devel libidn-devel nghttp2-devel
|
||||
$(vopt_if ssl libressl-devel) $(vopt_if gnutls gnutls-devel)"
|
||||
depends="ca-certificates"
|
||||
short_desc="Client that groks URLs"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -16,6 +17,10 @@ homepage="http://curl.haxx.se"
|
|||
distfiles="$homepage/download/$pkgname-$version.tar.bz2"
|
||||
checksum=1e2541bae6582bb697c0fbae49e1d3e6fad5d05d5aa80dbd6f072e0a44341814
|
||||
|
||||
build_options="gnutls ssl"
|
||||
build_options_default="ssl"
|
||||
vopt_conflict ssl gnutls
|
||||
|
||||
libcurl_package() {
|
||||
short_desc="The multiprotocol file transfer library"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in New Issue