summaryrefslogtreecommitdiff
path: root/multimedia/pocketsphinx/pocketsphinx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/pocketsphinx/pocketsphinx.SlackBuild')
-rw-r--r--multimedia/pocketsphinx/pocketsphinx.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/multimedia/pocketsphinx/pocketsphinx.SlackBuild b/multimedia/pocketsphinx/pocketsphinx.SlackBuild
index e23cd47b3b..faa8f4bd12 100644
--- a/multimedia/pocketsphinx/pocketsphinx.SlackBuild
+++ b/multimedia/pocketsphinx/pocketsphinx.SlackBuild
@@ -1,5 +1,4 @@
#!/bin/bash
-
# Slackware build script for pocketsphinx
# Copyright 2022 Vijay Marcel
@@ -25,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pocketsphinx
-VERSION=${VERSION:-20220705_0374540}
-COMMIT=${COMMIT:-03745404eecb7a440308263293caabdb605e7906}
+VERSION=${VERSION:-20220908_5a1370c}
+COMMIT=${COMMIT:-5a1370c3e9333550caf74be2d292f8c0c2ad8778}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -102,9 +101,8 @@ cmake -B build -S $TMP/$PRGNAM-$COMMIT \
-DCMAKE_INSTALL_MANDIR=/usr/man
python3 setup.py build
-make -C build
-make -C build all test
-make -C build install DESTDIR=$PKG
+cmake --build build
+DESTDIR=$PKG cmake --install build
python3 setup.py install --root="${PKG}/" --optimize=1 --skip-build
cp "$PKG"/usr/include/pocketsphinx.h $PKG/usr/include/pocketsphinx