libclc-git: update to 20160905.

This commit is contained in:
Christian Neukirchen 2016-09-05 17:31:49 +02:00
parent b7b6c837ae
commit 0a426b62f3

View file

@ -1,9 +1,14 @@
# Template file for 'libclc-git'
pkgname=libclc-git
version=20150912
version=20160905
revision=1
_git_hash=88b82a6f70012a903b10dfc1e2304d3ef2e76dbc
wrksrc="libclc-${_git_hash}"
build_style=configure
hostmakedepends="git python libffi-devel libedit-devel zlib-devel llvm clang ncurses-devel"
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 <johngaltfirstrun@gmail.com>"
license="BSD/MIT"
@ -11,18 +16,9 @@ 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"
checksum=4d01522ad7228fa91d46ccad68cac9fc6d2079bad23b4f0479f378dd9e9dc52e
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
}