void-packages/srcpkgs/opencl-headers/template

26 lines
696 B
Text

# Template file for 'opencl-headers'
pkgname=opencl-headers
_openclver=1.2
_distver=20121114
version=${_openclver}.${_distver}
revision=1
short_desc="OpenCL (Open Computing Language) header files"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.khronos.org/registry/cl/"
distfiles="http://xbps.nopcode.org/distfiles/${pkgname}-${version}.tar.xz"
checksum="a51c39e625a58865f43fecd7c42050e0c5b8d0523530ca6c8e61adbc8ba6b3ce"
long_desc="
This package contains the ${short_desc} from the Khronos group."
do_install() {
vmkdir usr/include/CL
install -m644 *.h *.hpp ${DESTDIR}/usr/include/CL
}
opencl-headers_package() {
noarch="yes"
pkg_install() {
vmove usr
}
}