2014-07-22 00:37:13 +02:00
|
|
|
# Template file for 'libclc-git'
|
|
|
|
pkgname=libclc-git
|
2014-11-15 19:27:28 +01:00
|
|
|
version=20141115
|
2014-11-15 20:02:54 +01:00
|
|
|
revision=2
|
2014-11-15 19:27:28 +01:00
|
|
|
build_style=configure
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2014-10-05 00:10:14 +02:00
|
|
|
makedepends="python libffi-devel zlib-devel llvm clang ncurses-devel"
|
2014-07-22 00:37:13 +02:00
|
|
|
short_desc="Open implementation of the OpenCL C programming language"
|
2014-10-05 00:04:38 +02:00
|
|
|
maintainer="John Galt <johngaltfirstrun@gmail.com>"
|
2014-07-22 00:37:13 +02:00
|
|
|
license="BSD/MIT"
|
|
|
|
homepage="http://libclc.llvm.org"
|
|
|
|
provides="libclc-${version}_${revision}"
|
2014-11-15 20:02:54 +01:00
|
|
|
replaces="libclc>=0 libclc-ptx-git>=0 libclc-r600-git>=0 libclc-devel-git>=0"
|
2014-08-22 11:14:39 +02:00
|
|
|
only_for_archs="i686 x86_64"
|
2014-07-22 00:37:13 +02:00
|
|
|
|
|
|
|
do_fetch() {
|
2014-11-15 19:27:28 +01:00
|
|
|
local url="http://llvm.org/git/libclc.git"
|
2014-07-22 00:37:13 +02:00
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${wrksrc}
|
|
|
|
}
|
|
|
|
do_configure() {
|
|
|
|
./configure.py --prefix=/usr
|
|
|
|
}
|