# Template file for 'libclc-git' pkgname=libclc-git version=20141115 revision=1 build_style=configure hostmakedepends="git" makedepends="python libffi-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 libclc-ptx-git>=0 libclc-r600-git>=0" only_for_archs="i686 x86_64" do_fetch() { local url="http://llvm.org/git/libclc.git" msg_normal "Fetching source from $url ...\n" git clone ${url} ${wrksrc} } do_configure() { ./configure.py --prefix=/usr } libclc-devel-git_package() { short_desc+=" (development files)" provides="libclc-devel-${version}_${revision}" replaces="libclc-devel>=0" pkg_install() { vmove usr/share vmove usr/include } }