mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-26 07:52:32 +01:00
abuild now exports CTEST_OUTPUT_ON_FAILURE=ON by default which means this repetition can be removed from the aports.
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=libks
|
|
pkgver=1.8.2
|
|
pkgrel=1
|
|
pkgdesc="Foundational support for signalwire C products"
|
|
url="https://github.com/signalwire/libks"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="cmake samurai util-linux-dev openssl-dev>3"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/signalwire/libks/archive/refs/tags/v$pkgver.tar.gz
|
|
disable-failing-tests.patch"
|
|
|
|
build() {
|
|
cmake -B . -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build .
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir .
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install .
|
|
}
|
|
|
|
sha512sums="
|
|
5c976803ce649e0690c5b4c14e16e2f08e21cbce67d21fcaaf1f3edbc83c110ad68eb1798b1f5601bd3245992fe471eee1e584d7232c8727957e6804e899b923 libks-1.8.2.tar.gz
|
|
2b9dcde2423531ce9677780c8bd1781450ace473fb9e176fd7449deeef51dc323af9825011f856e3494a7efaf688aff802b7c58105d65e3d21c22bfc71cffbaa disable-failing-tests.patch
|
|
"
|