PKGBUILDs/core/curl/PKGBUILD

23 lines
662 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
2009-09-26 15:21:59 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=curl
pkgver=7.19.5
pkgrel=1
pkgdesc="An URL retrival utility and library"
arch=('arm')
url="http://curl.haxx.se"
license=('MIT')
2009-09-26 15:21:59 +00:00
depends=('zlib' 'openssl>=0.9.8b')
2009-09-26 14:35:50 +00:00
options=('!libtool')
source=(http://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2)
md5sums=('426d161661dce70c8ea9ad8f553363a3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2009-09-26 15:21:59 +00:00
./configure --prefix=/opt --without-libidn --disable-ldap || return 1
2009-09-26 14:35:50 +00:00
make || return 1
make DESTDIR="${pkgdir}" install || return 1
2009-09-26 15:21:59 +00:00
install -D -m644 COPYING "${pkgdir}/opt/share/licenses/${pkgname}/COPYING" || return 1
2009-09-26 14:35:50 +00:00
}