diff --git a/srcpkgs/coremark/template b/srcpkgs/coremark/template new file mode 100644 index 00000000000000..bdcc81df0a2a40 --- /dev/null +++ b/srcpkgs/coremark/template @@ -0,0 +1,23 @@ +# Template file for 'coremark' +pkgname=coremark +version=1.01 +revision=1 +archs="x86_64*" # Upstream port limited to Linux x86_64 +build_style=gnu-makefile +make_use_env=yes # Upstream uses nonstandard env vars in makefile +make_build_target=compile +short_desc="Simple industry-standard benchmark to test a processor core" +maintainer="Dakota Richline " +license="Apache-2.0" +homepage=https://www.eembc.org/coremark/ +distfiles="https://github.com/eembc/coremark/archive/refs/tags/v${version}.tar.gz" +checksum=99c5a6d63af85a281b4e4d6ccb522c446653c435dfec9455ad73ef9e71f28bde +make_check=no # CoreMark's check target requires coremark.md5, which is not included in the release tarball + +do_install() { + vbin coremark.exe coremark +} + +post_install() { + vdoc README.md # Usage information +}