aboutsummaryrefslogtreecommitdiff
path: root/system/hardinfo2/hardinfo2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/hardinfo2/hardinfo2.SlackBuild')
-rw-r--r--system/hardinfo2/hardinfo2.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/hardinfo2/hardinfo2.SlackBuild b/system/hardinfo2/hardinfo2.SlackBuild
index 9a6d088852..c7865f0db9 100644
--- a/system/hardinfo2/hardinfo2.SlackBuild
+++ b/system/hardinfo2/hardinfo2.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250614 bkw: update for v2.2.13.
# 20250216 bkw: update for v2.2.7.
# 20241124 bkw: update for v2.2.4.
# 20241006 bkw: update for v2.1.17.
@@ -13,7 +14,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hardinfo2
-VERSION=${VERSION:-2.2.7}
+VERSION=${VERSION:-2.2.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,12 +77,13 @@ cd build
-DHARDINFO2_SERVICE=0 \
-DHARDINFO2_LIBSOUP3=0 \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ sed -i 's,-O3,,' CMakeCache.txt
+ make VERBOSE=1
make install/strip DESTDIR=$PKG
cd ..
# install-strip fails to strip this:
-strip $PKG/usr/lib*/$PRGNAM/modules/qgears2
+strip $PKG/usr/lib*/$PRGNAM/modules/*gears*
gzip -9 $PKG/usr/man/man*/*