aboutsummaryrefslogtreecommitdiff
path: root/development/alex/alex.SlackBuild
diff options
context:
space:
mode:
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 2a1f7bb92f5d2..a5c704b235107 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}
-