void-packages/srcpkgs/ispc/template
2019-03-02 16:55:54 -03:00

27 lines
663 B
Bash

# Template file for 'ispc'
pkgname=ispc
version=1.10.0
revision=1
archs="i686 x86_64"
build_style=gnu-makefile
hostmakedepends="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=0aa30e989f8d446b2680c9078d5c5db70634f40b9aa07db387aa35aa08dd0b81
nopie=yes
broken="Fails to apply patches"
pre_build() {
sed -i '/WERROR=/d' Makefile
}
do_install() {
vbin ispc
vlicense LICENSE.txt
}