aboutsummaryrefslogtreecommitdiff
path: root/system/sdltrs
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-03-15 19:45:25 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:27:11 +0200
commitdba262d6c97cbd53e483b5ca3ecef401be2de907 (patch)
treea7b202fd53e95522645ecb78676ca20c13fae89b /system/sdltrs
parentcf830e3d2af49fcf7a3c8d1e10b85e86187e7d91 (diff)
system/sdltrs: Updated for version 1.1.0.
Diffstat (limited to 'system/sdltrs')
-rw-r--r--system/sdltrs/sdltrs.SlackBuild19
-rw-r--r--system/sdltrs/sdltrs.info8
2 files changed, 18 insertions, 9 deletions
diff --git a/system/sdltrs/sdltrs.SlackBuild b/system/sdltrs/sdltrs.SlackBuild
index 4ad36063aea2..410c88f62238 100644
--- a/system/sdltrs/sdltrs.SlackBuild
+++ b/system/sdltrs/sdltrs.SlackBuild
@@ -4,14 +4,16 @@
# the Radio Shack TRS-80 Model I/III/4/4p emulator
# Written by Niels Horn - niels.horn@gmail.com
-# revision date 2009/09/26
+# revision date 2010/03/12
PRGNAM=sdltrs
-VERSION=1_0_0
+VERSION=${VERSION:-1.1.0}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVERSION=$(echo $VERSION | tr . _)
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -20,21 +22,28 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+ ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
+ ARCHQUADLET=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ ARCHQUADLET=""
+elif [ "$ARCH" = "arm" ]; then
+ SLKCFLAGS="-O2 -march=armv4t"
+ LIBDIRSUFFIX=""
+ ARCHQUADLET="-gnueabi"
fi
set -e
-rm -rf $TMP/${PRGNAM}_$VERSION $PKG
+rm -rf $TMP/${PRGNAM}_$SRCVERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
-cd ${PRGNAM}_$VERSION
+tar xvf $CWD/${PRGNAM}_$SRCVERSION.tar.gz
+cd ${PRGNAM}_$SRCVERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
diff --git a/system/sdltrs/sdltrs.info b/system/sdltrs/sdltrs.info
index 7a44cb538a42..aed0b841fb1d 100644
--- a/system/sdltrs/sdltrs.info
+++ b/system/sdltrs/sdltrs.info
@@ -1,10 +1,10 @@
PRGNAM="sdltrs"
-VERSION="1.0.0"
+VERSION="1.1.0"
HOMEPAGE="http://sdltrs.sourceforge.net"
-DOWNLOAD="http://sourceforge.net/projects/sdltrs/files/sdltrs_1_0_0.tar.gz/download"
-MD5SUM="280bfc59f93a7f804288dfbc878e792e"
+DOWNLOAD="http://downloads.sourceforge.net/sdltrs/sdltrs_1_1_0.tar.gz"
+MD5SUM="528ef3a6b491ce7858c2d24341494a40"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com"
-APPROVED="rworkman"
+APPROVED="Erik Hanson"