CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
signify: initial import
[crossrootfs.git] / curl / Pkgfile
index 6f5c6826eac1d44e21624ce40fe3177a155fd814..1537085b01a66af21de3b9ef22e7df5e29d7c8ce 100644 (file)
@@ -1,23 +1,26 @@
 # Description: A tool for transfering files with URL syntax
 # URL: http://curl.haxx.se
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: openssl zlib
 
 name=curl
-version=7.19.5
+version=7.52.1
 release=1
-source=(http://curl.haxx.se/download/$name-$version.tar.bz2)
+source=(http://curl.haxx.se/download/$name-$version.tar.lzma)
 
 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
-    make
-    make DESTDIR=$PKG install
+  cd $name-$version
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --enable-ipv6 \
+              --without-libidn \
+              --without-cyassl \
+              --enable-threaded-resolver \
+              --with-ca-bundle=/etc/ssl/cert.pem
+  
+  make
+  make DESTDIR=$PKG install
 }