ocl-icd: switch to github releases

The original distfile location is down, so use GitHub instead.
The release archives from there require autoreconf though, so
we also need to add dependencies and an appropriate hook to
do so.

Also fixes xlint issues.
This commit is contained in:
q66 2018-12-13 19:57:22 +01:00 committed by Helmut Pozimski
parent 3d1a7c35d3
commit 5b328f6999

View file

@ -1,20 +1,24 @@
# Template file for 'ocl-icd'
pkgname=ocl-icd
version=2.2.12
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="ruby xmlto asciidoc"
hostmakedepends="ruby xmlto asciidoc automake libtool"
makedepends="opencl2-headers"
short_desc="Generic OpenCL ICD loader/demultiplexer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://forge.imag.fr/projects/ocl-icd/"
license="BSD-2-Clause"
distfiles="https://forge.imag.fr/frs/download.php/836/${pkgname}-${version}.tar.gz"
checksum=7665f368354e3d2b7787ba4a23c6f061db1181195ba1914dd1cdcd462eca4df4
homepage="https://forge.imag.fr/projects/ocl-icd/"
distfiles="https://github.com/OCL-dev/${pkgname}/archive/v${version}.tar.gz"
checksum=17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272
provides="libOpenCL-1.2_1"
replaces="libOpenCL>=0"
pre_configure() {
./bootstrap
}
post_install() {
vlicense COPYING
}