summaryrefslogtreecommitdiffstats
path: root/libraries/stormlib/stormlib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/stormlib/stormlib.SlackBuild')
-rw-r--r--libraries/stormlib/stormlib.SlackBuild23
1 files changed, 7 insertions, 16 deletions
diff --git a/libraries/stormlib/stormlib.SlackBuild b/libraries/stormlib/stormlib.SlackBuild
index e7a15014a0..67b637c633 100644
--- a/libraries/stormlib/stormlib.SlackBuild
+++ b/libraries/stormlib/stormlib.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for stormlib
-# Copyright 2022 Steven Voges <svoges.sbo@gmail.com>
+# Copyright 2022-2023 Steven Voges <Oregon, USA>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,21 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20220301 bkw: Modified by SlackBuilds.org: use correct github URL.
-# Maintainers: the github URL you use has to save the file with the same name
-# with both "wget --content-disposition" and "wget --no-content-disposition".
-
cd $(dirname $0) ; CWD=$(pwd)
-#Define environment variables
-DIRNAM=StormLib
PRGNAM=stormlib
-VERSION=${VERSION:-9.23}
+SRCNAM=StormLib
+VERSION=${VERSION:-9.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PKGNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
@@ -71,9 +66,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $DIRNAM-$VERSION
-tar xvf $CWD/$DIRNAM-$VERSION.tar.gz
-cd $DIRNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -90,14 +85,10 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release ..
-
make
make install/strip DESTDIR=$PKG
cd ..
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE README.md doc \