development/alex: Updated for version 3.0.2.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Mikko Värri 2012-06-27 15:41:40 -04:00 committed by dsomero
parent d085a14879
commit f0f9261879
3 changed files with 9 additions and 8 deletions

View file

@ -2,5 +2,5 @@ Alex is a tool for generating lexical analysers in Haskell, given a
description of the tokens to be recognised in the form of regular
expressions. It is similar to the tool lex or flex for C/C++.
This requires ghc, haskell-transformers, haskell-mtl and
haskell-QuickCheck.
This requires ghc, haskell-transformers, haskell-mtl, haskell-random,
and haskell-QuickCheck.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=alex
VERSION=${VERSION:-3.0.1}
VERSION=${VERSION:-3.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -73,8 +73,9 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \
--prefix=/usr \
--enable-executable-dynamic \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--ghc-options="-threaded -dynamic"
--ghc-options="-threaded"
runghc Setup build
runghc Setup copy --destdir=$PKG

View file

@ -1,10 +1,10 @@
PRGNAM="alex"
VERSION="3.0.1"
VERSION="3.0.2"
HOMEPAGE="http://haskell.org/alex/"
DOWNLOAD="http://hackage.haskell.org/packages/archive/alex/3.0.1/alex-3.0.1.tar.gz"
MD5SUM="5dec239c89165d159faa2154bc0724cd"
DOWNLOAD="http://hackage.haskell.org/packages/archive/alex/3.0.2/alex-3.0.2.tar.gz"
MD5SUM="b8f0d831b65d05e5f54ff08bd3d9d10d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
APPROVED="dsomero,Niels Horn"
APPROVED="dsomero"