From 16c1cf7d42b74cfd033e5f9901d822eb0dad3c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikko=20V=C3=A4rri?= Date: Sun, 9 Jan 2011 12:24:52 -0500 Subject: libraries/haskell-regex-compat: Miscellaneous cleanup. Signed-off-by: dsomero --- libraries/haskell-regex-compat/README | 4 +--- libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild | 7 ++++--- libraries/haskell-regex-compat/haskell-regex-compat.info | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/libraries/haskell-regex-compat/README b/libraries/haskell-regex-compat/README index 56e297a83f..2246bedbc7 100644 --- a/libraries/haskell-regex-compat/README +++ b/libraries/haskell-regex-compat/README @@ -1,6 +1,4 @@ -haskell-regex-compat (Replaces/Enhances Text.Regex Haskell library) - -A module layer over regex-posix to replace Text.Regex. +A module layer over haskell-regex-posix to replace Text.Regex. This requires ghc and haskell-regex-posix. diff --git a/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild b/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild index 2783da2ca0..5e0c3126fb 100644 --- a/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild +++ b/libraries/haskell-regex-compat/haskell-regex-compat.SlackBuild @@ -5,12 +5,13 @@ # Written by Mikko Värri (vmj@linuxbox.fi) # Public domain. -SRCNAM=regex-compat -PRGNAM=haskell-$SRCNAM +PRGNAM=haskell-regex-compat VERSION=${VERSION:-0.93.1} -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-regex-compat/haskell-regex-compat.info b/libraries/haskell-regex-compat/haskell-regex-compat.info index 29a7778c2f..2033a4b239 100644 --- a/libraries/haskell-regex-compat/haskell-regex-compat.info +++ b/libraries/haskell-regex-compat/haskell-regex-compat.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