30 lines
899 B
Bash
30 lines
899 B
Bash
# Template file for 'libclc-git'
|
|
pkgname=libclc-git
|
|
version=20181127
|
|
revision=2
|
|
_git_hash=1ecb16dd7d8b8e9151027faab996f27b2ac508e3
|
|
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"
|
|
archs=noarch
|
|
distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=d9cf73a5d1ab05995086e7a3a0fd6c06172ee59cdd2512c395caae99b9fce453
|
|
|
|
pre_build() {
|
|
sed -i Makefile \
|
|
-e"s;/usr/bin/clang++;g++;g" \
|
|
-e"s;-mtune=i686;;g"
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE.TXT
|
|
}
|