aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-04 09:08:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-04 09:08:01 +0000
commit618322b613ed7bd7f45ff3bfb75e839d108a3a88 (patch)
treeb3e5c19f9e25f81d6bec8f3807098ecca962bcfb
parent7dd8298e11a8c1f0afcc7655f402c1dfdde685b4 (diff)
downloadaports-618322b613ed7bd7f45ff3bfb75e839d108a3a88.tar.bz2
aports-618322b613ed7bd7f45ff3bfb75e839d108a3a88.tar.xz
extra/c-ares: enable shared lib
-rw-r--r--extra/c-ares/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/extra/c-ares/APKBUILD b/extra/c-ares/APKBUILD
index d1556a735d..889eab3591 100644
--- a/extra/c-ares/APKBUILD
+++ b/extra/c-ares/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=c-ares
pkgver=1.6.0
-pkgrel=0
+pkgrel=1
pkgdesc="An asynchronously DNS/names resolver library"
url="http://c-ares.haxx.se/"
license="GPL"
depends="uclibc"
makedepends=""
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-dev"
source="http://c-ares.haxx.se/${pkgname}-${pkgver}.tar.gz"
build() {
@@ -16,7 +16,8 @@ build() {
./configure --prefix=/usr \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ --enable-shared
make || return 1
make DESTDIR="$pkgdir" install
}