### this file is sourced not run
PKGVER=0.9.6
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=libtpms-$PKGVER.tar.gz
MD5SUM=c922a80cb1a098e6f9b2671c0044a388
SRC_URL=https://github.com/stefanberger/libtpms/archive/refs/tags/v$PKGVER.tar.gz
BUNDLE=

SLACKREQ='openssl'
SLACKDESC="libtpms: libtpms $PKGVER (TPM library)
libtpms: 
libtpms: Libtpms is a library that targets the integration of TPM 
libtpms: functionality into hypervisors, primarily into Qemu. Libtpms provides 
libtpms: a very narrow public API for this purpose so that integration is 
libtpms: possible. Only the minimum of necessary APIs are made publicly 
libtpms: available.
libtpms: 
libtpms: https://github.com/stefanberger/libtpms
libtpms: 
libtpms: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-shared --with-pic"
	cd /tmp/libtpms* &&
	./bootstrap.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}


