updated on Fri Jan 6 08:01:17 UTC 2012
[aur-mirror.git] / curl-sftp / PKGBUILD
blobd5f9e25abd8bd4ff404c9fad8dbcd42553a5a4f6
1 # Contributor: avogatro <avogatro@gmail.com>
3 pkgname=curl-sftp
4 pkgver=7.21.0
5 pkgrel=1
6 pkgdesc="An URL retrival utility and library with sftp support"
7 url="http://curl.haxx.se"
8 arch=('i686' 'x86_64')
9 license=('MIT')
10 depends=('bash' 'ca-certificates' 'zlib' 'openssl>=1.0.0' 'libssh2>=1.2.6' 'libldap' 'libidn')
11 makedepends=('zlib')
12 conflicts=('curl')
13 provides=('curl')
14 source=("http://curl.haxx.se/download/curl-$pkgver.tar.gz"
15         )
16 sha1sums=('d0e5a1184315b9abb9cc54d77d4a0200526f046d'
18 build() {
19   cd $srcdir/curl-$pkgver
20   ./configure --prefix=/usr \
21   --with-random=/dev/urandom \
22   --mandir=/usr/share/man \
23   --enable-optimize \
24   --enable-http \
25   --enable-ftp \
26   --enable-file \
27   --enable-ldap \
28   --enable-ldaps \
29   --enable-proxy \
30   --enable-ipv6 \
31   --enable-thread \
32   --enable-crypto-auth \
33   --enable-cookies \
34   --with-ssl \
35   --with-ca-path=/etc/ssl/certs \
36   --enable-manual \
37   --enable-versioned-symbols \
38   --with-libssh2 \
39   --with-libidn \
40   --enable-debug --enable-curldebug \
41   || return 1
42   make || return 1
43   make DESTDIR=${pkgdir} install || return 1
44   
45   install -Dm644 COPYING \
46           ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1
47   install -Dm644 docs/libcurl/libcurl.m4 \
48           ${pkgdir}/usr/share/aclocal/libcurl.m4 || return 1