void-packages/srcpkgs/ispc/template

26 lines
644 B
Bash

# Template file for 'ispc'
pkgname=ispc
version=1.9.2
revision=3
only_for_archs="i686 x86_64"
build_style=gnu-makefile
hostmakedepends="llvm clang python m4 bison flex"
makedepends="ncurses-devel zlib-devel"
short_desc="A compiler for high-performance SIMD programming on the CPU"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD"
homepage="https://ispc.github.io"
distfiles="https://github.com/ispc/ispc/archive/v${version}.tar.gz"
patch_args="-p1"
checksum=76a14e22f05a52fb0b30142686a6cb144b0415b39be6c9fcd3f17ac23447f0b2
nopie=yes
pre_build() {
sed -i '/WERROR=/d' Makefile
}
do_install() {
vbin ispc
vlicense LICENSE.txt
}