void-packages/srcpkgs/cpuburn/template

39 lines
910 B
Bash
Raw Normal View History

2014-07-06 17:23:15 +02:00
# Template file for 'cpuburn'
pkgname=cpuburn
2015-05-11 13:16:14 +02:00
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl i686 i686-musl x86_64 x86_64-musl"
2014-07-06 17:23:15 +02:00
version=1.4a
2016-04-03 19:49:20 +02:00
revision=3
2014-07-06 17:23:15 +02:00
short_desc="Collection of programs to put heavy load on CPU"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://launchpad.net/ubuntu/+source/cpuburn/"
distfiles="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${version}.orig.tar.gz"
checksum=eb191ce9bfbf453d30c218c3419573df102a3588f96c4a43686c84bb9da4bed6
do_build() {
2014-11-23 15:29:27 +01:00
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) make CC="$CC";;
arm*) make -C ARM CC="$CC";;
esac
2014-07-06 17:23:15 +02:00
}
do_install() {
2014-11-23 15:29:27 +01:00
vdoc README
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
vbin burnBX
vbin burnK6
vbin burnK7
vbin burnMMX
vbin burnP5
vbin burnP6
vdoc Design
;;
arm*)
vbin ARM/burnCortexA8
vbin ARM/burnCortexA9
vdoc ARM/Design
;;
esac
2014-07-06 17:23:15 +02:00
}