mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/stormlib: Updated for version 9.24.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2427bbe191
commit
50f0a02d5d
3 changed files with 12 additions and 21 deletions
|
@ -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:
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue