# Depends on: openssl zlib
name=curl
-version=7.20.0
+version=7.59.0
release=1
-source=(http://curl.haxx.se/download/$name-$version.tar.bz2)
+source=(http://curl.haxx.se/download/$name-$version.tar.xz)
build() {
cd $name-$version
- echo "ac_cv_file___dev_urandom_=yes" > config.cache
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--enable-ipv6 \
- --cache-file=config.cache
+ --without-libidn \
+ --without-cyassl \
+ --enable-threaded-resolver \
+ --with-ca-bundle=/etc/ssl/cert.pem
make
make DESTDIR=$PKG install