aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-11 18:07:05 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 09:37:05 +0700
commit485abb9405ff9d3ff96c897ce6da53ca2bd8e860 (patch)
treef2016ca54379421c451b69d42b0dfc894b4f667d
parent3fc90822267bab4e652e1644509967b72528a539 (diff)
libraries/opencl-amd: Fix script, README.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/opencl-amd/README9
-rw-r--r--libraries/opencl-amd/opencl-amd.SlackBuild6
-rw-r--r--libraries/opencl-amd/opencl-amd.info2
-rw-r--r--libraries/opencl-amd/slack-desc3
4 files changed, 10 insertions, 10 deletions
diff --git a/libraries/opencl-amd/README b/libraries/opencl-amd/README
index 27b9d280af601..a46fcc54787d8 100644
--- a/libraries/opencl-amd/README
+++ b/libraries/opencl-amd/README
@@ -1,6 +1,7 @@
-OpenCL userspace driver as provided in the amdgpu-pro driver stack and intended to work along with the free amdgpu stack.
-It's a repackage of AUR opencl-amd and don't provide the full amdgpu-pro stack.
+OpenCL userspace driver as provided in the amdgpu-pro driver stack and
+intended to work along with the free amdgpu stack. It's a repackage
+of AUR opencl-amd and don't provide the full amdgpu-pro stack.
The Ubuntu 18.04 drivers can be downloaded using:
-/usr/bin/wget --referer https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx
--N https://drivers.amd.com/drivers/linux/19.50/amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz
+
+/usr/bin/wget --referer https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx -N https://drivers.amd.com/drivers/linux/19.50/amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz
diff --git a/libraries/opencl-amd/opencl-amd.SlackBuild b/libraries/opencl-amd/opencl-amd.SlackBuild
index 4aecebb65481c..f0e076e986361 100644
--- a/libraries/opencl-amd/opencl-amd.SlackBuild
+++ b/libraries/opencl-amd/opencl-amd.SlackBuild
@@ -27,7 +27,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PKGNAM="opencl-amd"
+PRGNAM="opencl-amd"
VERSION=${VERSION:-19.50}
MINVER="967956"
AMDVER="2.4.99"
@@ -60,7 +60,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp}
-PKG="${TMP}/package-${PKGNAM}"
+PKG="${TMP}/package-${PRGNAM}"
SRCDIR="${TMP}/${SRCNAM}"
OUTPUT=${OUTPUT:-/tmp}
@@ -134,4 +134,4 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-/sbin/makepkg -l y -c n "${OUTPUT}/${PKGNAM}-${VERSION}-${MINVER}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz}"
+/sbin/makepkg -l y -c n "${OUTPUT}/${PRGNAM}-${VERSION}-${MINVER}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz}"
diff --git a/libraries/opencl-amd/opencl-amd.info b/libraries/opencl-amd/opencl-amd.info
index 0d52a00ae2196..0f7d1890e3684 100644
--- a/libraries/opencl-amd/opencl-amd.info
+++ b/libraries/opencl-amd/opencl-amd.info
@@ -1,5 +1,5 @@
PRGNAM="opencl-amd"
-VERSION="19.50-967956"
+VERSION="19.50"
HOMEPAGE="https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
diff --git a/libraries/opencl-amd/slack-desc b/libraries/opencl-amd/slack-desc
index 6d051ae8e9c44..ee2d33b540835 100644
--- a/libraries/opencl-amd/slack-desc
+++ b/libraries/opencl-amd/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler----------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
opencl-amd: opencl-amd (OpenCL Userspace Driver)
opencl-amd:
opencl-amd: OpenCL userspace driver as provided in the amdgpu-pro driver stack
@@ -17,4 +17,3 @@ opencl-amd: Homepage: https://support.amd.com/en-us/kb-articles/Pages/
opencl-amd: AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx
opencl-amd:
opencl-amd:
-opencl-amd: