mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 23:32:47 +01:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
pkgname=swtpm
|
|
pkgver=0.7.3
|
|
pkgrel=0
|
|
pkgdesc="Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface"
|
|
url="https://github.com/stefanberger/swtpm"
|
|
arch="aarch64 armhf x86 x86_64"
|
|
license="BSD-3-Clause"
|
|
depends="libtpms"
|
|
makedepends="autoconf automake bash expect gawk gnutls gnutls-dev gnutls-utils
|
|
json-glib-dev libseccomp-dev libtasn1-dev libtool libtpms-dev openssl-dev
|
|
python3 socat
|
|
"
|
|
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-openssl \
|
|
--with-tss-user=root \
|
|
--with-tss-group=root
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
7f4cdf7ca2539f28e3a78e2a081b24983f3305905c7cafcac0957b14f5c06c8ee9485a0adaf3710561091f9ee85e00822fe1ff874389808218c1e17f938c45d9 swtpm-0.7.3.tar.gz
|
|
"
|