void-packages/srcpkgs/mei-amt-check/template

23 lines
704 B
Bash

# Template file for 'mei-amt-check'
pkgname=mei-amt-check
version=0.0.20170514
revision=1
_githash="a4d8fca4d18e1ae896b0305a53e152b568596bc1"
wrksrc="${pkgname}-${_githash}"
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
build_style=gnu-makefile
short_desc="Check whether AMT is enabled and provisioned under Linux"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="https://github.com/mjg59/mei-amt-check"
distfiles="https://github.com/mjg59/mei-amt-check/archive/${_githash}.tar.gz"
checksum=c51e633b0e174578afead03ae7fa2aaae32e20400655bc744ce1597bfc640567
post_extract() {
sed -i '/<bits\/wordsize.h>/d' mei-amt-check.c
}
do_install() {
vbin mei-amt-check
vdoc README.md
}