mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-08 22:06:43 +02:00
main/libcbor: use samurai
This commit is contained in:
parent
3f54a530fc
commit
7216ef5a04
@ -2,12 +2,12 @@
|
||||
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
|
||||
pkgname=libcbor
|
||||
pkgver=0.9.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="CBOR protocol implementation for C"
|
||||
url="https://github.com/PJK/libcbor"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
makedepends="cmake"
|
||||
makedepends="cmake samurai"
|
||||
subpackages="$pkgname-dev"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/PJK/libcbor/archive/refs/tags/v$pkgver.tar.gz"
|
||||
|
||||
@ -15,7 +15,7 @@ build() {
|
||||
if [ "$CBUILD" != "$CHOST" ]; then
|
||||
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
||||
fi
|
||||
cmake -B build \
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=True \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user