aboutsummaryrefslogtreecommitdiffstats
path: root/community/opencl-icd-loader
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-01-02 13:13:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-01-02 13:13:04 +0000
commit1eaec44016e2c7e4dada68d339ac2e46d2c8203b (patch)
tree2c23501ffa179eca6102b8d7b1df0510e75739c1 /community/opencl-icd-loader
parentcb03dc97c527c962c6fb0e99944d0c48fba96380 (diff)
downloadaports-1eaec44016e2c7e4dada68d339ac2e46d2c8203b.tar.bz2
aports-1eaec44016e2c7e4dada68d339ac2e46d2c8203b.tar.xz
community/opencl-icd-loader: update urls
Diffstat (limited to 'community/opencl-icd-loader')
-rw-r--r--community/opencl-icd-loader/APKBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/community/opencl-icd-loader/APKBUILD b/community/opencl-icd-loader/APKBUILD
index c065c3f747..8523717f1e 100644
--- a/community/opencl-icd-loader/APKBUILD
+++ b/community/opencl-icd-loader/APKBUILD
@@ -3,17 +3,22 @@
pkgname=opencl-icd-loader
_pkgreal=ocl-icd
pkgver=2.2.12
-pkgrel=1
+pkgrel=2
pkgdesc="Generic OpenCL ICD Loader"
-url="https://forge.imag.fr/projects/ocl-icd/"
+url="https://github.com/OCL-dev/ocl-icd"
arch="all"
license="custom"
depends_dev="$pkgname"
-makedepends="ruby libtool"
+makedepends="ruby libtool autoconf automake"
subpackages="$pkgname-doc $pkgname-dev"
-source="$pkgname-$pkgver.tar.gz::https://forge.imag.fr/frs/download.php/716/$_pkgreal-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/OCL-dev/ocl-icd/archive/v$pkgver.tar.gz
ocl_icd_loader.c.patch"
-builddir="$srcdir/$_pkgreal-2.2.9" # error in archive name
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare
+ autoreconf -vif
+}
build() {
cd "$builddir"
@@ -38,5 +43,5 @@ package() {
install -D -m644 COPYING "$pkgdir"/usr/share/doc/ocl-icd/LICENSE
}
-sha512sums="d0b1531812feb493bdc27fd4a141796c2ecd14efd79cfa00af47c7c6edc1a7b323cd2d3b7254117a1cfa1c55e24494f662034041a0976b6ee5a6154626eb2d65 opencl-icd-loader-2.2.12.tar.gz
+sha512sums="f1668c3a39ecfbc089ee5a5f61f44ceb86ab80e504e58064dec306ce907daf77936c5403b4af15ed8714068891d68346c86725f285cfbc90c4fcb35d18db4048 opencl-icd-loader-2.2.12.tar.gz
7857997fdc03ba9db7a7acd25706d8616b3037f0f1aca03cab652be593475a498c7f04b42cdecf08daafdfb8de4684181e4a1389707b898b78797a88779c162b ocl_icd_loader.c.patch"