vp-build/srcpkgs/libclc-git/template

25 lines
777 B
Bash

# Template file for 'libclc-git'
pkgname=libclc-git
version=20160905
revision=1
_git_hash=88b82a6f70012a903b10dfc1e2304d3ef2e76dbc
wrksrc="libclc-${_git_hash}"
build_style=configure
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 <johngaltfirstrun@gmail.com>"
license="BSD/MIT"
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
post_install() {
vlicense LICENSE.TXT
}