void-packages/srcpkgs/libclc-git/template

24 lines
656 B
Bash
Raw Normal View History

2014-07-22 00:37:13 +02:00
# Template file for 'libclc-git'
pkgname=libclc-git
version=20150312
revision=1
build_style=configure
hostmakedepends="git python"
makedepends="libffi-devel libedit-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}"
replaces="libclc>=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() {
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
}