mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/lpac: new aport
This commit is contained in:
parent
7f476b936e
commit
c3b181649e
37
testing/lpac/APKBUILD
Normal file
37
testing/lpac/APKBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Contributor: Luca Weiss <luca@z3ntu.xyz>
|
||||
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
||||
pkgname=lpac
|
||||
pkgver=2.0.0
|
||||
pkgrel=0
|
||||
pkgdesc="C-based eUICC LPA"
|
||||
url="https://github.com/estkme-group/lpac"
|
||||
# x86: textrels
|
||||
arch="all !x86"
|
||||
license="AGPL-3.0-only AND LGPL-2.0-only AND MIT"
|
||||
makedepends="
|
||||
cmake
|
||||
curl-dev
|
||||
pcsc-lite-dev
|
||||
samurai
|
||||
"
|
||||
subpackages="$pkgname-dbg"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/estkme-group/lpac/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="!check" # no tests
|
||||
|
||||
build() {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_RPATH=/usr/lib/lpac
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
d92037f095cdb73911f6933b09e208e33cb56e3c09155bb0492903eb7b3b5026a2605d3fcdea71bdbdd1115afb04171a8d44cb18df0fac09670dd1ba3b0be523 lpac-2.0.0.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user