From 0a426b62f3c9d8d435a37706517ca4e8440830d7 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 5 Sep 2016 17:31:49 +0200 Subject: [PATCH] libclc-git: update to 20160905. --- srcpkgs/libclc-git/template | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/srcpkgs/libclc-git/template b/srcpkgs/libclc-git/template index c3841ac1fdf..193def5b01b 100644 --- a/srcpkgs/libclc-git/template +++ b/srcpkgs/libclc-git/template @@ -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 " 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 }