2006-02-23 16:26:10 +01:00
|
|
|
# Description: A tool for transfering files with URL syntax
|
2007-01-23 18:35:30 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
# URL: http://curl.haxx.se
|
2008-06-15 15:05:51 +02:00
|
|
|
# Depends on: openssl, zlib
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=curl
|
2016-12-23 18:26:26 +01:00
|
|
|
version=7.52.1
|
2014-07-16 18:48:34 +02:00
|
|
|
release=1
|
2017-01-25 03:07:03 +01:00
|
|
|
source=(http://curl.haxx.se/download/$name-$version.tar.lzma 0002-vtls-s-SSLEAY-OPENSSL.patch)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2017-01-25 03:07:03 +01:00
|
|
|
patch -p1 -i $SRC/0002-vtls-s-SSLEAY-OPENSSL.patch
|
2006-07-03 08:22:29 +02:00
|
|
|
./configure --prefix=/usr \
|
2011-08-03 11:17:01 +02:00
|
|
|
--enable-ipv6 \
|
|
|
|
--without-libidn \
|
2014-07-16 18:03:11 +02:00
|
|
|
--without-cyassl \
|
2012-11-30 17:05:38 +01:00
|
|
|
--enable-threaded-resolver \
|
|
|
|
--with-ca-bundle=/etc/ssl/cert.pem
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|