Commit ed52e790 authored by Jonas's avatar Jonas
Browse files

testing/swtpm: new aport

parent bf3222ca
Pipeline #96500 failed with stages
in 4 minutes and 51 seconds
# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
pkgname=swtpm
pkgver=0.6.1
pkgrel=0
pkgdesc="Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface."
url="https://github.com/stefanberger/$pkgname"
arch="all"
license="BSD-3-Clause"
depends="libtpms"
makedepends="autoconf automake expect gawk gnutls gnutls-dev gnutls-utils json-glib-dev libseccomp-dev libtasn1-dev libtool libtpms-dev openssl-dev python3 socat"
#checkdepends=""
#install=""
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/v$pkgver.tar.gz"
#builddir="$srcdir/"
build() {
./autogen.sh --prefix=/usr --libdir=/usr/lib --with-openssl --with-tss-user=root --with-tss-group=tss
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
a44e36820ad61e84d62b330f3adf0c463c98438056d74c5ba30916d956e722633e0198ae87be8352a0ab909ae5a4bbc3826410d2166186c43bba067f533fec85 swtpm-0.6.1.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment