aboutsummaryrefslogtreecommitdiff
path: root/development/alex
diff options
context:
space:
mode:
Diffstat (limited to 'development/alex')
-rw-r--r--development/alex/README3
-rw-r--r--development/alex/alex.SlackBuild12
-rw-r--r--development/alex/alex.info8
3 files changed, 12 insertions, 11 deletions
diff --git a/development/alex/README b/development/alex/README
index 3bbb6e8b0b4c6..1ec96040f2536 100644
--- a/development/alex/README
+++ b/development/alex/README
@@ -2,4 +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++.
-Requires: ghc.
+This requires ghc, haskell-transformers, haskell-mtl and
+haskell-QuickCheck.
diff --git a/development/alex/alex.SlackBuild b/development/alex/alex.SlackBuild
index d8e79072c7551..3db8e6ce858e3 100644
--- a/development/alex/alex.SlackBuild
+++ b/development/alex/alex.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for alex
-# Copyright 2011 Mikko Värri, Finland
+# Copyright 2012 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=alex
-VERSION=${VERSION:-2.3.5}
+VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,15 +71,15 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-runghc Setup.lhs configure \
+runghc Setup configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--ghc-options="-threaded -dynamic"
-runghc Setup.lhs build
-runghc Setup.lhs copy --destdir=$PKG
+runghc Setup build
+runghc Setup copy --destdir=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/development/alex/alex.info b/development/alex/alex.info
index c582f24c283dd..82720767abc0a 100644
--- a/development/alex/alex.info
+++ b/development/alex/alex.info
@@ -1,10 +1,10 @@
PRGNAM="alex"
-VERSION="2.3.5"
+VERSION="3.0.1"
HOMEPAGE="http://haskell.org/alex/"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/alex/2.3.5/alex-2.3.5.tar.gz"
-MD5SUM="5e08c688ded0dcff98eaad6fc03a9402"
+DOWNLOAD="http://hackage.haskell.org/packages/archive/alex/3.0.1/alex-3.0.1.tar.gz"
+MD5SUM="5dec239c89165d159faa2154bc0724cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="dsomero"
+APPROVED="dsomero,Niels Horn"