summaryrefslogtreecommitdiff
path: root/system/c-ares/APKBUILD
diff options
context:
space:
mode:
authorSheila Aman <sheila@vulpine.house>2021-11-07 16:52:04 +0000
committerSheila Aman <sheila@vulpine.house>2021-11-07 16:52:04 +0000
commit5cb8eeb287e3777076efee7392a107515f9fcc22 (patch)
tree5092361fdbe265ceb9802f97e2462d29571f3540 /system/c-ares/APKBUILD
parent1d3deb758d3abc846405917b8fa1cc1b1e1594a3 (diff)
downloadpackages-5cb8eeb287e3777076efee7392a107515f9fcc22.tar.gz
packages-5cb8eeb287e3777076efee7392a107515f9fcc22.tar.bz2
packages-5cb8eeb287e3777076efee7392a107515f9fcc22.tar.xz
packages-5cb8eeb287e3777076efee7392a107515f9fcc22.zip
user/{c-ares,libev,nghttp2}: move to system
Diffstat (limited to 'system/c-ares/APKBUILD')
-rw-r--r--system/c-ares/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/system/c-ares/APKBUILD b/system/c-ares/APKBUILD
new file mode 100644
index 000000000..564b70ce9
--- /dev/null
+++ b/system/c-ares/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=c-ares
+pkgver=1.16.1
+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() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-shared
+ make
+}
+
+check() {
+ make -C test check
+}
+
+package() {
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="4ac2a5d5c6da74eb1d6155c4eadc7127ab1b53a8d13caec41bd6172db5417a79f3ab022e77ba37d8b13da6893d7ced5fd8baf5cc3950a4154b4de8743ad31471 c-ares-1.16.1.tar.gz"