void-packages/srcpkgs/libclc-git/template

29 lines
764 B
Bash
Raw Normal View History

2014-07-22 00:37:13 +02:00
# Template file for 'libclc-git'
pkgname=libclc-git
version=20150912
revision=1
build_style=configure
2015-05-07 05:29:48 +02:00
hostmakedepends="git python 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"
2015-05-07 05:29:48 +02:00
noarch=yes
2014-07-22 00:37:13 +02:00
do_fetch() {
local _githash="f9b8aac70c01a85cf70267320a97fe0c51fb15da"
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}
2015-04-26 09:03:32 +02:00
cd ${wrksrc}
git checkout ${_githash}
2014-07-22 00:37:13 +02:00
}
do_configure() {
./configure.py --prefix=/usr
}
post_install() {
vlicense LICENSE.TXT
}