summaryrefslogtreecommitdiffstats
path: root/system/radeontop/radeontop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/radeontop/radeontop.SlackBuild')
-rw-r--r--system/radeontop/radeontop.SlackBuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/system/radeontop/radeontop.SlackBuild b/system/radeontop/radeontop.SlackBuild
index 2f20ac1f3a..0d1d2b2878 100644
--- a/system/radeontop/radeontop.SlackBuild
+++ b/system/radeontop/radeontop.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for radeontop
# Copyright 2018 Hunter Sezen California, USA
+# Copyright 2023 K. Eugene Carlson Tsukuba, JP
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=radeontop
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,19 +84,10 @@ find -L . \
# Include the correct version number.
sed -i "s/ver=unknown/ver=$VERSION/" ./getver.sh
-# Makefile: Add MANDIR.
-# https://github.com/clbr/radeontop/commit/dfbff6274ce25814a4357a8a788c404425cecb69
-# https://github.com/clbr/radeontop/pull/79
-patch -p1 < $CWD/man.patch
-
-# getver.sh: Only use git if its a git repo.
-# https://github.com/clbr/radeontop/commit/c7518550fc8b0e62f1c7ea96495eec621bc395ef
-# https://github.com/clbr/radeontop/pull/80
-patch -p1 < $CWD/git.patch
-
CFLAGS="$SLKCFLAGS" \
make amdgpu=1
+# BINDIR no longer needed
make install \
PREFIX=/usr \
LIBDIR=lib${LIBDIRSUFFIX} \