updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / mingw32-curl-static / PKGBUILD
blob048010fb99d389f933a4c8451b79ac126105c314
1 pkgname=mingw32-curl-static
2 pkgver=7.21.1
3 pkgrel=1
4 pkgdesc="An URL retrival utility and library"
5 arch=(i686 x86_64)
6 url="http://curl.haxx.se"
7 license=('MIT')
8 depends=('mingw32-openssl-static' 'mingw32-zlib-static')
9 source=(http://curl.haxx.se/download/curl-${pkgver}.tar.bz2)
10 md5sums=(eafde5b933bce1c1dca82d1054c8d967)
12 build() {
13   cd ${srcdir}/curl-${pkgver}
14 LDFLAGS=''
15   ./configure --host=i486-mingw32 --build=mingw32 --without-ca-bundle --without-gnutls --without-random --with-zlib=/usr/i486-mingw32 --with-ssl=/usr/i486-mingw32 --prefix=/usr/i486-mingw32 --without-libidn --disable-ldap || return 1
16   make || return 1
17   make DESTDIR=${pkgdir} install || return 1
18   install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1