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