# Template file for 'libclc-git' pkgname=libclc-git version=20150912 revision=1 build_style=configure hostmakedepends="git python libffi-devel libedit-devel zlib-devel llvm clang ncurses-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 do_fetch() { local _githash="f9b8aac70c01a85cf70267320a97fe0c51fb15da" local url="http://llvm.org/git/libclc.git" msg_normal "Fetching source from $url ...\n" git clone ${url} ${wrksrc} cd ${wrksrc} git checkout ${_githash} } do_configure() { ./configure.py --prefix=/usr } post_install() { vlicense LICENSE.TXT }