summaryrefslogtreecommitdiff
path: root/user/c-ares
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-30 03:55:01 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-30 03:55:01 +0000
commitc66c0f1f8b5f7cf2d6aa55ff12bddc87c1358c1e (patch)
treebf993229cbdb5be5d23c81727597210515a8bde3 /user/c-ares
parent6e232f232d826a996a0fdd1b22fec7654f5efb2f (diff)
downloadpackages-c66c0f1f8b5f7cf2d6aa55ff12bddc87c1358c1e.tar.gz
packages-c66c0f1f8b5f7cf2d6aa55ff12bddc87c1358c1e.tar.bz2
packages-c66c0f1f8b5f7cf2d6aa55ff12bddc87c1358c1e.tar.xz
packages-c66c0f1f8b5f7cf2d6aa55ff12bddc87c1358c1e.zip
system/c-ares: move to user/, unneeded by any system pkg
Diffstat (limited to 'user/c-ares')
-rw-r--r--user/c-ares/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/c-ares/APKBUILD b/user/c-ares/APKBUILD
new file mode 100644
index 000000000..5b33772a3
--- /dev/null
+++ b/user/c-ares/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=c-ares
+pkgver=1.15.0
+pkgrel=0
+pkgdesc="Asynchronous DNS/name resolver library"
+url="https://c-ares.haxx.se/"
+arch="all"
+options="!checkroot"
+license="MIT"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc $pkgname-dev"
+source="https://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-shared
+ make
+}
+
+check() {
+ cd "$builddir"
+ make -C test check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="a1de6c5e7e1a6a13c926aae690e83d5caa51e7313d63da1cf2af6bc757c41d585aad5466bc3ba7b7f7793cb1748fa589f40972b196728851c8b059cfc8c3be50 c-ares-1.15.0.tar.gz"