updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / curl-ares / PKGBUILD
blob9ed235937b1780530aad08da7a0f22e7d70fe46c
1 # $Id: PKGBUILD 84561 2010-06-30 23:36:38Z dgriffiths $
2 # Contributor: Eric Belanger <eric@archlinux.org>
3 # Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
4 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgname=curl-ares
7 pkgver=7.21.0
8 pkgrel=1
9 pkgdesc="An URL retrival utility and library with c-ares support"
10 arch=('i686' 'x86_64')
11 url="http://curl.haxx.se"
12 license=('MIT')
13 depends=('zlib' 'openssl' 'bash' 'ca-certificates' 'c-ares')
14 options=('!libtool')
15 conflicts=('curl')
16 provides=('curl=${pkgver}')
17 source=("http://curl.haxx.se/download/curl-${pkgver}.tar.bz2")
18 md5sums=('e1a2a773e93a39f3c04cab92c55bf197')
20 build() {
21         cd ${srcdir}/curl-${pkgver}
23         ./configure \
24             --enable-ares=/usr/include \
25             --with-random=/dev/urandom \
26             --prefix=/usr \
27             --mandir=/usr/share/man \
28             --disable-dependency-tracking \
29             --enable-ipv6 \
30             --disable-ldaps \
31             --disable-ldap \
32             --enable-manual \
33             --enable-versioned-symbols \
34             --with-ca-path=/etc/ssl/certs \
35             --without-libidn || return 1
36         make || return 1
39 package() {
40         cd ${srcdir}/curl-${pkgver}
42         make DESTDIR=${pkgdir} install || return 1
43         install -Dm644 COPYING \
44                 ${pkgdir}/usr/share/licenses/curl/COPYING || return 1
45         install -Dm644 docs/libcurl/libcurl.m4 \
46                 ${pkgdir}/usr/share/aclocal/libcurl.m4 || return 1