From 239b8b73d3576120b8685c4579a616e7c6c46544 Mon Sep 17 00:00:00 2001 From: Mikko Värri Date: Sun, 9 Jan 2011 12:22:26 -0500 Subject: libraries/haskell-parsec: Miscellaneous cleanup. Signed-off-by: dsomero --- libraries/haskell-parsec/README | 4 +--- libraries/haskell-parsec/haskell-parsec.SlackBuild | 7 ++++--- libraries/haskell-parsec/haskell-parsec.info | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/libraries/haskell-parsec/README b/libraries/haskell-parsec/README index 41da17b45c..04dfcedd2a 100644 --- a/libraries/haskell-parsec/README +++ b/libraries/haskell-parsec/README @@ -1,12 +1,10 @@ -haskell-parsec (Monadic parser combinators for Haskell) - Parsec is designed from scratch as an industrial-strength parser library. It is simple, safe, well documented, has extensive libraries and good error messages, and is also fast. It is defined as a monad transformer that can be stacked on arbitrary monads, and it is also parametric in the input stream type. -This requires ghc and haskell-mtl. +This requires ghc, haskell-transformers, haskell-mtl, and haskell-syb. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache diff --git a/libraries/haskell-parsec/haskell-parsec.SlackBuild b/libraries/haskell-parsec/haskell-parsec.SlackBuild index 196478cc71..94a66d7bd6 100644 --- a/libraries/haskell-parsec/haskell-parsec.SlackBuild +++ b/libraries/haskell-parsec/haskell-parsec.SlackBuild @@ -5,12 +5,13 @@ # Written by Mikko Värri (vmj@linuxbox.fi) # Public domain. -SRCNAM=parsec -PRGNAM=haskell-$SRCNAM +PRGNAM=haskell-parsec VERSION=${VERSION:-3.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" + GHC_VERSION=$(ghc --numeric-version) if [ -z "$ARCH" ]; then diff --git a/libraries/haskell-parsec/haskell-parsec.info b/libraries/haskell-parsec/haskell-parsec.info index 2ec8cefe1c..9d6204f77d 100644 --- a/libraries/haskell-parsec/haskell-parsec.info +++ b/libraries/haskell-parsec/haskell-parsec.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Mikko Värri" EMAIL="vmj@linuxbox.fi" -APPROVED="Erik Hanson" +APPROVED="dsomero" -- cgit v1.2.3