mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
795 B
Bash
28 lines
795 B
Bash
|
# $Id: PKGBUILD 23085 2009-01-02 12:18:45Z alexanderf $
|
||
|
# Maintainer: Jeff Mickey <jeff@archlinux.org>
|
||
|
# Maintainer: Alexander Fehr <pizzapunk gmail com>
|
||
|
|
||
|
pkgname=c-ares
|
||
|
pkgver=1.6.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="C library that performs DNS requests and name resolves asynchronously"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://c-ares.haxx.se/"
|
||
|
license=('MIT')
|
||
|
depends=('glibc')
|
||
|
options=('!libtool')
|
||
|
source=(http://c-ares.haxx.se/c-ares-$pkgver.tar.gz
|
||
|
LICENSE)
|
||
|
md5sums=('4503b0db3dd79d3c1f58d87722dbab46'
|
||
|
'c69f2042941b708ce3e7121424d0b7e6')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/c-ares-$pkgver"
|
||
|
|
||
|
./configure --prefix=/usr --enable-shared || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="$pkgdir" install || return 1
|
||
|
|
||
|
install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/c-ares/LICENSE" || return 1
|
||
|
}
|