aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Sacchetti Picchio <andrea dot sacchettipicchio at gmail dot com>2024-04-29 20:59:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-04 21:44:59 +0700
commite53c8e13fb69b94df797c7c8fb882e923c6d0c6a (patch)
tree0c034d2b40f8e6b96ee73a231f0ce6d7010668fa
parent4d04ee3bd5c0267401d1ebcd8da315a203af49dc (diff)
ham/dab_lib: Updated for version 20240428.229149eb.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--ham/dab_lib/dab_lib.SlackBuild14
-rw-r--r--ham/dab_lib/dab_lib.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/ham/dab_lib/dab_lib.SlackBuild b/ham/dab_lib/dab_lib.SlackBuild
index 3d5fc871b4d5..02071203fb42 100644
--- a/ham/dab_lib/dab_lib.SlackBuild
+++ b/ham/dab_lib/dab_lib.SlackBuild
@@ -25,11 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dab_lib
-VERSION=${VERSION:-20231211.815d83fc}
-SRCVERSION=${SRCVERSION:-815d83fcd1b2ffa1289501943c913cc86d6b567b}
+VERSION=${VERSION:-20240428.229149eb}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -71,9 +71,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf dab-cmdline-$SRCVERSION#
-unzip $CWD/dab-cmdline-$SRCVERSION.zip
-cd dab-cmdline-$SRCVERSION/library
+rm -rf dab-cmdline-${VERSION##*.}*
+tar xvf $CWD/dab-cmdline-${VERSION##*.}*.tar.gz
+cd dab-cmdline-${VERSION##*.}*/library
chown -R root:root .
find -L . \
@@ -91,6 +91,7 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
+ make $NUMJOBS
make install/strip DESTDIR=$PKG
cd ../..
@@ -98,10 +99,9 @@ cd ../..
[ -d $PKG/usr/lib -a ! -e $PKG/usr/lib$LIBDIRSUFFIX ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
+cp \
LICENSE README.md AUTHORS \
$PKG/usr/doc/$PRGNAM-$VERSION
-chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/ham/dab_lib/dab_lib.info b/ham/dab_lib/dab_lib.info
index 5b501d25d77d..a1a2c14183ca 100644
--- a/ham/dab_lib/dab_lib.info
+++ b/ham/dab_lib/dab_lib.info
@@ -1,8 +1,8 @@
PRGNAM="dab_lib"
-VERSION="20231211.815d83fc"
+VERSION="20240428.229149eb"
HOMEPAGE="https://github.com/JvanKatwijk/dab-cmdline/"
-DOWNLOAD="https://github.com/JvanKatwijk/dab-cmdline/archive/815d83fc/dab-cmdline-815d83fcd1b2ffa1289501943c913cc86d6b567b.zip"
-MD5SUM="15457cfebfeda63a0619bf6ea170eb8f"
+DOWNLOAD="https://github.com/JvanKatwijk/dab-cmdline/archive/229149eb/dab-cmdline-229149eb421eeb8302ff96005c69b3cdab2cc349.tar.gz"
+MD5SUM="38f5fb46df66f6bf395b0d1a367e1a77"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="faad2"