summaryrefslogtreecommitdiff
path: root/games/smc/smc.SlackBuild
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2010-05-13 00:27:05 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:27:05 +0200
commitcdf1299955ee9b0360a3a5a5369fd04280a6bdfe (patch)
treef821ec9fcd6f2f64cde885598601fd4d72beb599 /games/smc/smc.SlackBuild
parent37e835c26178c64ebfff3d6f1227af0174f1dc76 (diff)
downloadslackbuilds-cdf1299955ee9b0360a3a5a5369fd04280a6bdfe.tar.gz
games/smc: Updated for version 1.9
Diffstat (limited to 'games/smc/smc.SlackBuild')
-rw-r--r--games/smc/smc.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/games/smc/smc.SlackBuild b/games/smc/smc.SlackBuild
index 9357979bd4..06583f78fb 100644
--- a/games/smc/smc.SlackBuild
+++ b/games/smc/smc.SlackBuild
@@ -4,7 +4,7 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=smc
-VERSION=${VERSION:-1.8}
+VERSION=${VERSION:-1.9}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -14,9 +14,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Say NO here if using boost < 1.36
-PATCHBOOST=${PATCHBOOST:-YES}
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -39,10 +36,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+rw,go-w .
-if [ "$PATCHBOOST" == "YES" ]; then
- patch -p1 < $CWD/smc1.8_boost1.36.patch
-fi
-
+patch -p1 < $CWD/smc-1.9_boost.patch
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@@ -70,4 +64,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}