summaryrefslogtreecommitdiffstats
path: root/libraries/stormlib
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/stormlib')
-rw-r--r--libraries/stormlib/slack-desc4
-rw-r--r--libraries/stormlib/stormlib.SlackBuild23
-rw-r--r--libraries/stormlib/stormlib.info6
3 files changed, 12 insertions, 21 deletions
diff --git a/libraries/stormlib/slack-desc b/libraries/stormlib/slack-desc
index 1be0632b90..aa94fe9b88 100644
--- a/libraries/stormlib/slack-desc
+++ b/libraries/stormlib/slack-desc
@@ -6,12 +6,12 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-stormlib: stormlib (Library to handle MPQ)
+stormlib: stormlib (MPQ Library)
stormlib:
stormlib: StomLib is an open-source library that can work with Blizzard MPQ
stormlib: archives.
stormlib:
-stormlib:
+stormlib: Homepage: http://www.zezula.net/en/mpq/stormlib.html
stormlib:
stormlib:
stormlib:
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 \
diff --git a/libraries/stormlib/stormlib.info b/libraries/stormlib/stormlib.info
index b288f7a286..a627b512e7 100644
--- a/libraries/stormlib/stormlib.info
+++ b/libraries/stormlib/stormlib.info
@@ -1,8 +1,8 @@
PRGNAM="stormlib"
-VERSION="9.23"
+VERSION="9.25"
HOMEPAGE="http://www.zezula.net/en/mpq/stormlib.html"
-DOWNLOAD="https://github.com/ladislav-zezula/StormLib/archive/v9.23/StormLib-9.23.tar.gz"
-MD5SUM="a498eedeb97d0a49fcc8e8b509f1a95b"
+DOWNLOAD="https://github.com/ladislav-zezula/StormLib/archive/v9.25/StormLib-9.25.tar.gz"
+MD5SUM="d30d08c2e80d284575c8003c89576c6f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""