# Template file for 'libclc-git' pkgname=libclc-git version=20170816 revision=1 _git_hash=b73df2910b8bd95a7942ba292c8daac7a7a15588 wrksrc="libclc-${_git_hash}" build_style=configure configure_script="./configure.py" configure_args="--prefix=/usr" hostmakedepends="clang libedit-devel libffi-devel llvm ncurses-devel python zlib-devel" short_desc="Open implementation of the OpenCL C programming language" maintainer="John Galt " license="BSD/MIT" homepage="http://libclc.llvm.org" provides="libclc-${version}_${revision}" replaces="libclc>=0" noarch=yes distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz>${pkgname}-${version}.tar.gz" checksum=6c06526b530938a975de0fd64ee475cc01120e60365262af75494b50dbba5700 pre_build() { sed -i Makefile \ -e"s;/usr/bin/clang++;g++;g" \ -e"s;-mtune=i686;;g" } post_install() { vlicense LICENSE.TXT }