# Template file for 'libclc-git' pkgname=libclc-git version=20171127 revision=1 _git_hash=d6384415ab854c68777dd77451aa2bc0d959da99 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=b8c0720661618eef017a81466b74011064dab5372168fba0d8eec857a0c612d2 pre_build() { sed -i Makefile \ -e"s;/usr/bin/clang++;g++;g" \ -e"s;-mtune=i686;;g" } post_install() { vlicense LICENSE.TXT }