summaryrefslogtreecommitdiff
path: root/libraries/stormlib
diff options
context:
space:
mode:
authorSteven Voges <svoges.sbo@gmail.com>2022-10-28 00:51:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-29 10:28:37 +0700
commit50f0a02d5dbb9e141c8f4e509eb9e69fd7d4c246 (patch)
treea52a25dd4344426042b42f4f35cfa146a651a4a2 /libraries/stormlib
parent2427bbe191da04267730da35ce6f77c53a9e44bf (diff)
downloadslackbuilds-50f0a02d5dbb9e141c8f4e509eb9e69fd7d4c246.tar.gz
libraries/stormlib: Updated for version 9.24.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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..50c99b5ced 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 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.24}
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..14085b979f 100644
--- a/libraries/stormlib/stormlib.info
+++ b/libraries/stormlib/stormlib.info
@@ -1,8 +1,8 @@
PRGNAM="stormlib"
-VERSION="9.23"
+VERSION="9.24"
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.24/StormLib-9.24.tar.gz"
+MD5SUM="dad853fe5c311feec4a92dbc34c92046"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""