blob: 48e973209b0d125f502733126c00d89e3ecfd162 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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
"
|