void-packages/srcpkgs/cpuburn-a53/template

23 lines
627 B
Bash

# Template file for 'cpuburn-a53'
pkgname=cpuburn-a53
version=0.0.20160228
revision=2
archs="aarch64*"
create_wrksrc=yes
build_style=fetch
short_desc="Stress ARM Cortex-A53 processors"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/ssvb/cpuburn-arm"
distfiles="https://raw.githubusercontent.com/ssvb/cpuburn-arm/ad7e646700d14b81413297bda02fb7fe96613c3f/cpuburn-a53.S"
checksum=502b3a17186da34976cb97d7ae2083a66c42cddaffc1e900a4dd23efc64d97f1
do_build() {
$CC -o cpuburn-a53 cpuburn-a53.S
sed -n '1,/^$/p' cpuburn-a53.S >LICENSE
}
do_install() {
vbin cpuburn-a53
vlicense LICENSE
}