mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-18 06:12:35 +01:00
41 lines
993 B
Plaintext
41 lines
993 B
Plaintext
# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
pkgname=libtpms
|
|
pkgver=0.9.4
|
|
pkgrel=0
|
|
pkgdesc="library providing software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)"
|
|
url="https://github.com/stefanberger/libtpms"
|
|
arch="aarch64 armhf x86 x86_64"
|
|
license="BSD-3-Clause"
|
|
makedepends="autoconf automake bash build-base gawk libtool make openssl-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib \
|
|
--with-tpm2 \
|
|
--with-openssl
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
ae3e2613bc31d98c10def546c70d0c25bd1246af5090268afa0411502bfd0e454967046ebcd9025350976817441e595fa4e21562f800285db98331e4c2743505 libtpms-0.9.4.tar.gz
|
|
"
|