From 5b328f6999d579fe5240c1695b3273875f5268ca Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 13 Dec 2018 19:57:22 +0100 Subject: [PATCH] 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. --- srcpkgs/ocl-icd/template | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/srcpkgs/ocl-icd/template b/srcpkgs/ocl-icd/template index 0dd2eec220c..d1f208ee09e 100644 --- a/srcpkgs/ocl-icd/template +++ b/srcpkgs/ocl-icd/template @@ -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 " -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 }