1 pkgname=mingw32-curl-static
4 pkgdesc="An URL retrival utility and library"
6 url="http://curl.haxx.se"
8 depends=('mingw32-openssl-static' 'mingw32-zlib-static')
9 source=(http://curl.haxx.se/download/curl-${pkgver}.tar.bz2)
10 md5sums=(eafde5b933bce1c1dca82d1054c8d967)
13 cd ${srcdir}/curl-${pkgver}
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
17 make DESTDIR=${pkgdir} install || return 1
18 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1