# Template build file for 'curl'.
pkgname=curl
version=7.21.4
distfiles="http://curl.haxx.se/download/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-ldaps --with-gssapi=/usr --with-ca-path=/etc/ssl/certs"
short_desc="Client that groks URLs"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d5337445462cbb4810ff73f14de4b259f825b218654f890dc6451a51aa694de1
long_desc="
 Curl is a command line tool for transferring files with URL syntax, supporting
 FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. Curl supports
 HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload,
 proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate,
 kerberos...), file transfer resume, proxy tunneling and a busload of other
 useful tricks."

subpackages="libcurl libcurl-devel"

Add_dependency run glibc
Add_dependency run zlib
Add_dependency run libcurl

Add_dependency build pkg-config
Add_dependency build libidn-devel
Add_dependency build glibc-devel
Add_dependency build openssl-devel
Add_dependency build zlib-devel
Add_dependency build libldap-devel
Add_dependency build mit-krb5-devel
