summaryrefslogtreecommitdiff
path: root/development/alex/alex.SlackBuild
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2010-07-16 13:41:12 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-21 01:42:39 -0500
commitdf9f5f770d5376a2105afe85a39402ef90f57159 (patch)
tree6b573c7fbc6d890dbc04be5b01f5936e6b563d17 /development/alex/alex.SlackBuild
parent1895627265bba31faf2f00fb8757ce66d8d063cf (diff)
downloadslackbuilds-df9f5f770d5376a2105afe85a39402ef90f57159.tar.gz
development/alex: Updated for version 2.3.3.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/alex/alex.SlackBuild')
-rw-r--r--development/alex/alex.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/development/alex/alex.SlackBuild b/development/alex/alex.SlackBuild
index 2a1f7bb92f..a5c704b235 100644
--- a/development/alex/alex.SlackBuild
+++ b/development/alex/alex.SlackBuild
@@ -2,20 +2,18 @@
# Slackware build script for alex
-# Written by Mikko Varri (vmj@linuxbox.fi)
+# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
PRGNAM=alex
-VERSION=${VERSION:-2.3.1}
+VERSION=${VERSION:-2.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -55,11 +53,11 @@ find . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
runghc Setup.lhs configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --flags="-threaded -dynamic"
+ --ghc-options="-threaded -dynamic"
runghc Setup.lhs build
runghc Setup.lhs copy --destdir=$PKG
@@ -76,4 +74,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-