games/steem: Add 64-bit support.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
217af619ca
commit
c4295dcba6
|
@ -1,11 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for xsteem
|
||||
# Slackware build script for steem
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20180123 bkw:
|
||||
# - BUILD=3
|
||||
# - 4 years now and open source steem still fails to build.
|
||||
# - Allow building a (fake) x86_64 package on 64-bit, since the
|
||||
# binary is fully static and runs fine on 64-bit. This is
|
||||
# how it should have been from day one, sorry about that.
|
||||
|
||||
# 20141112 bkw:
|
||||
# - binary in /usr/games, not /usr/bin
|
||||
# - rewrite man page as pod, move to man6
|
||||
|
@ -16,11 +23,18 @@
|
|||
|
||||
PRGNAM=steem
|
||||
VERSION=${VERSION:-3.2}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Binary-only package, hard-coded ARCH
|
||||
ARCH=i486
|
||||
# Binary-only package, ARCH is a lie, but set it to
|
||||
# what tools like sbopkg will expect.
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
|
@ -37,7 +51,7 @@ cd $TMP
|
|||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
tar xvf $CWD/x${PRGNAM}_v${SRCVER}-${ARCH}.tar.gz
|
||||
tar xvf $CWD/x${PRGNAM}_v${SRCVER}-i486.tar.gz
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
|
|
@ -5,7 +5,7 @@ DOWNLOAD="http://steem.atari.st/xsteem_v3_2-i486.tar.gz \
|
|||
http://steem.atari.st/tos_uk.zip"
|
||||
MD5SUM="7beb9c1faf78ffbd7e50ebf13dc991af \
|
||||
51778c08eaabe70020b30bf87b04ec7f"
|
||||
DOWNLOAD_x86_64="UNTESTED"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="B. Watson"
|
||||
|
|
Loading…
Reference in New Issue