aboutsummaryrefslogtreecommitdiffstats
path: root/main/c-ares/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-29 08:54:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:19 +0000
commit380a8bc7eac14666dc7dea249c163199fcac2aec (patch)
treed2b09ab3655f92da242c9d4bf141946fe253a388 /main/c-ares/APKBUILD
parenta1e6735de505f67940c176756b6e3a9f46c4ed8f (diff)
downloadaports-380a8bc7eac14666dc7dea249c163199fcac2aec.tar.bz2
aports-380a8bc7eac14666dc7dea249c163199fcac2aec.tar.xz
main/c-ares: specify license
Diffstat (limited to 'main/c-ares/APKBUILD')
-rw-r--r--main/c-ares/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/c-ares/APKBUILD b/main/c-ares/APKBUILD
index 29b1e5b6af..4914fdbf7e 100644
--- a/main/c-ares/APKBUILD
+++ b/main/c-ares/APKBUILD
@@ -2,24 +2,24 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=c-ares
pkgver=1.10.0
-pkgrel=0
+pkgrel=1
pkgdesc="An asynchronously DNS/names resolver library"
url="http://c-ares.haxx.se/"
arch="all"
-license="GPL"
-depends=
-makedepends=
+license="MIT"
+depends=""
+makedepends=""
subpackages="$pkgname-doc $pkgname-dev"
-source="http://c-ares.haxx.se/download/${pkgname}-${pkgver}.tar.gz"
+source="http://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
update_config_sub || return 1
}
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,7 +32,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}