diff options
author | Zach van Rijn <me@zv.io> | 2021-11-07 17:20:18 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2021-11-07 17:20:18 +0000 |
commit | 5b7fdab13bde1f85f838e34199dcf551e6ea6f76 (patch) | |
tree | 1a970980f607a132b3bd324721b727277edb8850 /system/c-ares | |
parent | 818b68caae7c3a484f6f5011805690973a7d8dff (diff) | |
parent | d045b5bca8cd983b9512fd45e19d2c5770323a32 (diff) | |
download | packages-5b7fdab13bde1f85f838e34199dcf551e6ea6f76.tar.gz packages-5b7fdab13bde1f85f838e34199dcf551e6ea6f76.tar.bz2 packages-5b7fdab13bde1f85f838e34199dcf551e6ea6f76.tar.xz packages-5b7fdab13bde1f85f838e34199dcf551e6ea6f76.zip |
Merge branch 'move/nghttp2' into 'master'
Move nghttp2 for HTTP/2 support in system/curl
See merge request adelie/packages!637
Diffstat (limited to 'system/c-ares')
-rw-r--r-- | system/c-ares/APKBUILD | 35 |
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" |