summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2011-01-09 12:16:58 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:42 -0600
commit0be35bf847878a581caaba1627446bdb76219bb7 (patch)
tree6ef1cc673b06a62ef532f6359a8989d442b24fcc /libraries
parent407b85060e7bf1d3f6ab26356eacef8ae4c72eea (diff)
downloadslackbuilds-0be35bf847878a581caaba1627446bdb76219bb7.tar.gz
libraries/haskell-mtl: Updated for version 2.0.1.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/haskell-mtl/README14
-rw-r--r--libraries/haskell-mtl/haskell-mtl.SlackBuild4
-rw-r--r--libraries/haskell-mtl/haskell-mtl.info8
3 files changed, 12 insertions, 14 deletions
diff --git a/libraries/haskell-mtl/README b/libraries/haskell-mtl/README
index 7ed08a35dc..19cee88cbc 100644
--- a/libraries/haskell-mtl/README
+++ b/libraries/haskell-mtl/README
@@ -1,11 +1,9 @@
-haskell-mtl (Monad transformer library)
+A monad transformer library, inspired by the paper Functional
+Programming with Overloading and Higher-Order Polymorphism, by Mark P
+Jones <http://web.cecs.pdx.edu/~mpj/pubs/springschool.html>, Advanced
+School of Functional Programming, 1995.
-A monad transformer library, inspired by the paper Functional Programming
-with Overloading and Higher-Order Polymorphism, by Mark P Jones
-<http://web.cecs.pdx.edu/~mpj/pubs/springschool.html>, Advanced School of
-Functional Programming, 1995.
+This requires ghc and haskell-transformers.
-This requires ghc.
-
-After uninstalling, run this command to unregister the package from
+After uninstalling, run this command to unregister the package from
the ghc package database: ghc-pkg recache
diff --git a/libraries/haskell-mtl/haskell-mtl.SlackBuild b/libraries/haskell-mtl/haskell-mtl.SlackBuild
index 09b56b44b8..4b1ae790af 100644
--- a/libraries/haskell-mtl/haskell-mtl.SlackBuild
+++ b/libraries/haskell-mtl/haskell-mtl.SlackBuild
@@ -6,11 +6,11 @@
# Public domain.
PRGNAM=haskell-mtl
-VERSION=${VERSION:-1.1.1.0}
+VERSION=${VERSION:-2.0.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=mtl
+SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
GHC_VERSION=$(ghc --numeric-version)
diff --git a/libraries/haskell-mtl/haskell-mtl.info b/libraries/haskell-mtl/haskell-mtl.info
index 7bfc007812..6caf0014e1 100644
--- a/libraries/haskell-mtl/haskell-mtl.info
+++ b/libraries/haskell-mtl/haskell-mtl.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-mtl"
-VERSION="1.1.1.0"
+VERSION="2.0.1.0"
HOMEPAGE="http://hackage.haskell.org/package/mtl"
-DOWNLOAD="http://hackage.haskell.org/packages/archive/mtl/1.1.1.0/mtl-1.1.1.0.tar.gz"
-MD5SUM="2d12f18f36f9493f495f21647f97b66f"
+DOWNLOAD="http://hackage.haskell.org/packages/archive/mtl/2.0.1.0/mtl-2.0.1.0.tar.gz"
+MD5SUM="934fa813625ef7e88a6a96a09815ff95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="rworkman"
+APPROVED="dsomero"