diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-27 00:16:22 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-12-27 00:50:58 +0000 |
commit | 20d6948ff8589faf53802bc4f2b82194a5296880 (patch) | |
tree | e66d8a2c0daaeb378bf365c2d09df19973ee10a3 /user/c-ares | |
parent | 7e1f58eff231562a3633dd654a2ba158cf241e49 (diff) | |
download | packages-20d6948ff8589faf53802bc4f2b82194a5296880.tar.gz packages-20d6948ff8589faf53802bc4f2b82194a5296880.tar.bz2 packages-20d6948ff8589faf53802bc4f2b82194a5296880.tar.xz packages-20d6948ff8589faf53802bc4f2b82194a5296880.zip |
system/{c-ares,libev}: Move back to user/
These are no longer required in the system/ repository.
Diffstat (limited to 'user/c-ares')
-rw-r--r-- | user/c-ares/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/c-ares/APKBUILD b/user/c-ares/APKBUILD new file mode 100644 index 000000000..71a799909 --- /dev/null +++ b/user/c-ares/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=c-ares +pkgver=1.18.1 +pkgrel=1 +pkgdesc="Asynchronous DNS/name resolver library" +url="https://c-ares.org/" +arch="all" +options="!checkroot" +license="MIT" +depends="" +makedepends="cmake" +subpackages="$pkgname-doc $pkgname-dev" +source="https://c-ares.org/download/$pkgname-$pkgver.tar.gz" + +build() { + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCARES_BUILD_TESTS=ON \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + . + make +} + +check() { + bin/arestest --gtest_filter=-*.Live* +} + +package() { + make -j1 DESTDIR="$pkgdir" install +} + +sha512sums="1276ec0799916019f8c0af6b55a139701bd15e0ca4a00811d07963893978bc96c107b980f0fd49f81aa70bc8b3b8cd671195ba357c390772d4c2c5643c50c5a5 c-ares-1.18.1.tar.gz" |