# Depends on: openssl zlib
name=curl
-version=7.21.5
+version=7.59.0
release=1
-source=(http://curl.haxx.se/download/$name-$version.tar.lzma)
+source=(http://curl.haxx.se/download/$name-$version.tar.xz)
build() {
cd $name-$version
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--enable-ipv6 \
- --with-random=/dev/urandom
+ --without-libidn \
+ --without-cyassl \
+ --enable-threaded-resolver \
+ --with-ca-bundle=/etc/ssl/cert.pem
make
make DESTDIR=$PKG install