development/alex: Updated for version 2.3.3.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Mikko Värri 2010-07-16 13:41:12 -05:00 committed by Erik Hanson
parent 1895627265
commit df9f5f770d
2 changed files with 9 additions and 12 deletions

View file

@ -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}

View file

@ -1,10 +1,10 @@
PRGNAM="alex"
VERSION="2.3.1"
VERSION="2.3.3"
HOMEPAGE="http://haskell.org/alex/"
DOWNLOAD="http://hackage.haskell.org/packages/archive/alex/2.3.1/alex-2.3.1.tar.gz"
MD5SUM="a8c26af3370388297cee4b8c767d72d9"
DOWNLOAD="http://hackage.haskell.org/packages/archive/alex/2.3.3/alex-2.3.3.tar.gz"
MD5SUM="bc5d90c932470ee8a64e6cda162ca05e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Varri"
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
APPROVED="dsomero"
APPROVED="Erik Hanson"