blob: fcab985733d4300489f634d67b4420938a971af0 (
plain) (
blame)
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
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=tpm2-tss
pkgver=4.0.1
pkgrel=0
pkgdesc="Software for working with Trusted Platform Modules (TPM)"
url="https://tpm2-software.github.io/"
arch="all"
license="BSD-2-Clause"
depends=""
makedepends="curl-dev doxygen json-c-dev openssl-dev util-linux-dev"
checkdepends="cmocka-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/tpm2-software/tpm2-tss/releases/download/$pkgver/tpm2-tss-$pkgver.tar.gz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-unit
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="ed6ddc52cb0e8c1082a4bb001e1225eb9905fd2380da88db5fd69ff5b5d9d43a93eb67b634e49d53eb5d586832da3aef2c4c7e5f18d51bb730481f8913319d7d tpm2-tss-4.0.1.tar.gz"
|