summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:35:50 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:35:50 +0000
commit4f7e575d2bd0cb4527803b6a3a156c456c36a501 (patch)
tree4cec72cbf895e86069ecc8cc6976d22a65e98c83 /dev-haskell
parentx86 stable wrt #184627 (diff)
downloadgentoo-2-4f7e575d2bd0cb4527803b6a3a156c456c36a501.tar.gz
gentoo-2-4f7e575d2bd0cb4527803b6a3a156c456c36a501.tar.bz2
gentoo-2-4f7e575d2bd0cb4527803b6a3a156c456c36a501.zip
New version from ghc-6.6.1 extralibs collection.
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/haskell-src/ChangeLog7
-rw-r--r--dev-haskell/haskell-src/files/digest-haskell-src-1.0.13
-rw-r--r--dev-haskell/haskell-src/haskell-src-1.0.1.ebuild27
3 files changed, 36 insertions, 1 deletions
diff --git a/dev-haskell/haskell-src/ChangeLog b/dev-haskell/haskell-src/ChangeLog
index 1651bf507e5d..8d572e7a0bd6 100644
--- a/dev-haskell/haskell-src/ChangeLog
+++ b/dev-haskell/haskell-src/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/haskell-src
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src/ChangeLog,v 1.16 2007/07/08 15:36:08 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src/ChangeLog,v 1.17 2007/07/08 17:35:50 dcoutts Exp $
+
+*haskell-src-1.0.1 (08 Jul 2007)
+
+ 08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> +haskell-src-1.0.1.ebuild:
+ New version from ghc-6.6.1 extralibs collection.
08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> haskell-src-1.0-r1.ebuild:
Use dev-lang/ghc rather than virtual/ghc.
diff --git a/dev-haskell/haskell-src/files/digest-haskell-src-1.0.1 b/dev-haskell/haskell-src/files/digest-haskell-src-1.0.1
new file mode 100644
index 000000000000..ca36040367bc
--- /dev/null
+++ b/dev-haskell/haskell-src/files/digest-haskell-src-1.0.1
@@ -0,0 +1,3 @@
+MD5 43a26b81608b206c056adc3032f7da2a ghc-6.6.1-src-extralibs.tar.bz2 1928527
+RMD160 1c18c85d978c4b3369132e247c823aaa90ea8530 ghc-6.6.1-src-extralibs.tar.bz2 1928527
+SHA256 d162a82fc388fdd48c327b09bb6d778f2313d12d5282f3b120ac08a5d4e78902 ghc-6.6.1-src-extralibs.tar.bz2 1928527
diff --git a/dev-haskell/haskell-src/haskell-src-1.0.1.ebuild b/dev-haskell/haskell-src/haskell-src-1.0.1.ebuild
new file mode 100644
index 000000000000..1eca3acccc03
--- /dev/null
+++ b/dev-haskell/haskell-src/haskell-src-1.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src/haskell-src-1.0.1.ebuild,v 1.1 2007/07/08 17:35:50 dcoutts Exp $
+
+CABAL_FEATURES="lib profile haddock"
+inherit base haskell-cabal
+
+GHC_PV=6.6.1
+
+DESCRIPTION="Haskell source library"
+HOMEPAGE="http://haskell.org/ghc/"
+SRC_URI="http://www.haskell.org/ghc/dist/${GHC_PV}/ghc-${GHC_PV}-src-extralibs.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/ghc-6.6"
+
+S="${WORKDIR}/ghc-${GHC_PV}/libraries/${PN}"
+
+# Sadly Setup.hs in the ghc-6.6.1 extralibs was not tested with Cabal-1.1.6.x
+src_unpack() {
+ unpack "${A}"
+ sed -i -e "/type Hook/ s/UserHooks/Maybe UserHooks/" ${S}/Setup.hs
+}