diff options
author | Mikko Värri <vmj@linuxbox.fi> | 2012-01-10 08:34:09 -0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-01-13 14:43:33 -0600 |
commit | 63350794316a2133649bf5e3540a312cb629bf1c (patch) | |
tree | 47c8547539e5dbad2e4f6c4706182cff18704e6a | |
parent | 96a8bdc26cd70ed0cad98a59cb0be563bda920bf (diff) | |
download | slackbuilds-63350794316a2133649bf5e3540a312cb629bf1c.tar.gz |
development/alex: Updated for version 3.0.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r-- | development/alex/README | 3 | ||||
-rw-r--r-- | development/alex/alex.SlackBuild | 12 | ||||
-rw-r--r-- | development/alex/alex.info | 8 |
3 files changed, 12 insertions, 11 deletions
diff --git a/development/alex/README b/development/alex/README index 3bbb6e8b0b..1ec96040f2 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 d8e79072c7..3db8e6ce85 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 c582f24c28..82720767ab 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" |