mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
985 B
Bash
26 lines
985 B
Bash
# $Id: PKGBUILD 49576 2009-08-13 02:24:53Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
|
|
|
|
pkgname=curl
|
|
pkgver=7.19.6
|
|
pkgrel=1
|
|
pkgdesc="An URL retrival utility and library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://curl.haxx.se"
|
|
license=('MIT')
|
|
depends=('zlib' 'openssl>=0.9.8b' 'bash' 'ca-certificates')
|
|
options=('!libtool')
|
|
source=(http://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('8402c1f654c51ad7287aad57c3aa79be')
|
|
sha1sums=('b7cb98c7a6577de7073d0b0c23eecdb8ed993e8e')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --without-libidn --disable-ldap \
|
|
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
|
|
install -D -m644 docs/libcurl/libcurl.m4 "${pkgdir}/usr/share/aclocal/libcurl.m4" || return 1
|
|
}
|