summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:27:06 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:43 -0600
commit4a1e24e499413bf645ff5e09cec58b49c3f2beb7 (patch)
tree73e734bb71a35e10b99ea63ba835a90490fffc4a /libraries
parent6181e4f606a2d98d18a994d84c6ddbaaff296c6e (diff)
downloadslackbuilds-4a1e24e499413bf645ff5e09cec58b49c3f2beb7.tar.gz
libraries/haskell-stm: Updated for version 2.2.0.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/haskell-stm/README4
-rw-r--r--libraries/haskell-stm/haskell-stm.SlackBuild7
-rw-r--r--libraries/haskell-stm/haskell-stm.info8
3 files changed, 9 insertions, 10 deletions
diff --git a/libraries/haskell-stm/README b/libraries/haskell-stm/README
index f525e72aec..1ef22a9627 100644
--- a/libraries/haskell-stm/README
+++ b/libraries/haskell-stm/README
@@ -1,6 +1,4 @@
-haskell-stm (Software Transactional Memory for Haskell)
-
-A modular composable concurrency abstraction.
+A modular composable concurrency abstraction for Haskell.
This requires ghc.
diff --git a/libraries/haskell-stm/haskell-stm.SlackBuild b/libraries/haskell-stm/haskell-stm.SlackBuild
index 873de56577..8d316e196d 100644
--- a/libraries/haskell-stm/haskell-stm.SlackBuild
+++ b/libraries/haskell-stm/haskell-stm.SlackBuild
@@ -5,12 +5,13 @@
# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
-SRCNAM=stm
-PRGNAM=haskell-$SRCNAM
-VERSION=${VERSION:-2.1.2.2}
+PRGNAM=haskell-stm
+VERSION=${VERSION:-2.2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
+
GHC_VERSION=$(ghc --numeric-version)
if [ -z "$ARCH" ]; then
diff --git a/libraries/haskell-stm/haskell-stm.info b/libraries/haskell-stm/haskell-stm.info
index f0b9ad8303..2908be0eaf 100644
--- a/libraries/haskell-stm/haskell-stm.info
+++ b/libraries/haskell-stm/haskell-stm.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-stm"
-VERSION="2.1.2.2"
+VERSION="2.2.0.1"
HOMEPAGE="http://hackage.haskell.org/package/stm"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/stm/2.1.2.2/stm-2.1.2.2.tar.gz"
-MD5SUM="8ab984880051f33aad2c47ca68f4ccdc"
+DOWNLOAD="http://hackage.haskell.org/packages/archive/stm/2.2.0.1/stm-2.2.0.1.tar.gz"
+MD5SUM="b1cf03ed315e00c33160746feeee8682"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="Erik Hanson"
+APPROVED="dsomero"