void-packages/srcpkgs/cpuburn-a53/template

23 lines
662 B
Bash
Raw Normal View History

2016-05-06 21:57:01 +02:00
# Template file for 'cpuburn-a53'
pkgname=cpuburn-a53
version=0.0.20160228
revision=1
create_wrksrc=yes
only_for_archs="aarch64 aarch64-musl"
build_style=fetch
short_desc="Stress ARM Cortex-A53 processors"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
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
}