22 lines
678 B
Bash
22 lines
678 B
Bash
# Template file for 'opencl-headers'
|
|
pkgname=opencl-headers
|
|
_openclver=1.2
|
|
_distver=20160105
|
|
_githash=47be6196cb09f2718990f9537ac69fc5ec43aed5
|
|
version=${_openclver}.${_distver}
|
|
revision=1
|
|
wrksrc="OpenCL-Headers-${_githash}"
|
|
noarch="yes"
|
|
short_desc="OpenCL (Open Computing Language) header files"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://www.khronos.org/registry/cl/"
|
|
distfiles="https://github.com/KhronosGroup/OpenCL-Headers/archive/${_githash}.tar.gz"
|
|
checksum=76d9e8af99f05a23713499a1794b0f6b721cfc79366daa9104ac0b2ed73812c1
|
|
replaces="opencl2-headers>=0"
|
|
|
|
do_install() {
|
|
vmkdir usr/include/CL
|
|
install -m644 *.h ${DESTDIR}/usr/include/CL
|
|
}
|