summaryrefslogtreecommitdiff
path: root/system/c-ares/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-17 20:08:22 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-18 04:58:43 -0500
commit35fd66f15b3b590a1bcf352efa8fdec1c79d1c8a (patch)
treee270ff14838972da042c7bfbe8d67cf76d7c28d7 /system/c-ares/APKBUILD
parent5ade2a35c234b2f7ed49d2a3254f5832a8c13b3e (diff)
downloadpackages-35fd66f15b3b590a1bcf352efa8fdec1c79d1c8a.tar.gz
packages-35fd66f15b3b590a1bcf352efa8fdec1c79d1c8a.tar.bz2
packages-35fd66f15b3b590a1bcf352efa8fdec1c79d1c8a.tar.xz
packages-35fd66f15b3b590a1bcf352efa8fdec1c79d1c8a.zip
system/c-ares: [PD] fix mainatainer, pkgdesc, remove test hack
Diffstat (limited to 'system/c-ares/APKBUILD')
-rw-r--r--system/c-ares/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/system/c-ares/APKBUILD b/system/c-ares/APKBUILD
index 98fbe2eb1..3effc2a1a 100644
--- a/system/c-ares/APKBUILD
+++ b/system/c-ares/APKBUILD
@@ -1,22 +1,20 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=c-ares
-pkgver=1.13.0
+pkgver=1.14.0
pkgrel=0
-pkgdesc="An asynchronously DNS/names resolver library"
+pkgdesc="Asynchronous DNS/name resolver library"
url="http://c-ares.haxx.se/"
arch="all"
+options="!checkroot"
license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-dev"
-options="!checkroot"
source="http://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,19 +26,13 @@ build() {
}
check() {
- cd "$_builddir"
-
- # This is only needed for < 1.14.0, where the .sh file was not
- # distributed properly - see https://da.gd/carestest
- echo "#!/bin/true" > test/fuzzcheck.sh
- chmod a+x test/fuzzcheck.sh
-
+ cd "$builddir"
make -C test check
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
-sha512sums="4a7942e754673f5b8d55a7471e31b0f390e8324b14c12077580c956147fad4d165c7fe8a3190199b1add95c710ceeb1a7957706d4f0d6299d39c5dddc719bd9d c-ares-1.13.0.tar.gz"
+sha512sums="30cd3f8c4eea15f994b2ceb44d84e506858f69f624e651e39bb4db523fea9ad5e8906b75abf07131ae364be19172274ed4053059669091f21ce4463cdbb857bf c-ares-1.14.0.tar.gz"