From ffb2e5fadb2960f68815bcd6556bbfb1be942fb8 Mon Sep 17 00:00:00 2001 From: Cormac Stephenson Date: Thu, 18 Jan 2024 00:50:11 +0000 Subject: [PATCH] testing/zycore: build shared library, split package --- testing/zycore/APKBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/testing/zycore/APKBUILD b/testing/zycore/APKBUILD index 48fcecd1b2d..3d311abc4dc 100644 --- a/testing/zycore/APKBUILD +++ b/testing/zycore/APKBUILD @@ -2,12 +2,13 @@ # Maintainer: Michael M pkgname=zycore pkgver=1.4.1 -pkgrel=0 +pkgrel=1 pkgdesc="Independent types for Zyantific projects (development files)" url="https://github.com/zyantific/zycore-c" arch="x86 x86_64 aarch64 armhf armv7 ppc64le riscv64" license="MIT" -makedepends="cmake samurai" +makedepends="cmake samurai doxygen" +subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/zyantific/zycore-c/archive/v$pkgver/zycore-c-$pkgver.tar.gz" builddir="$srcdir/zycore-c-$pkgver" @@ -18,7 +19,7 @@ build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=ON \ + -DZYCORE_BUILD_SHARED_LIB=ON \ -DCMAKE_BUILD_TYPE=None \ $crossopts cmake --build build @@ -33,5 +34,5 @@ package() { } sha512sums=" -8cfb1b5dc49ae1d3216398b125125ced52603c6ae7772d08ff5f8c7be0ab7d7aa257f70678f7afa7805b7937520808fa5968ae98bfe7604e46c56e79460c0b5e zycore-dev-1.4.1.tar.gz +8cfb1b5dc49ae1d3216398b125125ced52603c6ae7772d08ff5f8c7be0ab7d7aa257f70678f7afa7805b7937520808fa5968ae98bfe7604e46c56e79460c0b5e zycore-1.4.1.tar.gz "