summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:34:20 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:34:20 +0000
commitcc07febab35e17d3e2c8a2c6b211d6ce915272f3 (patch)
tree25566e33e13cdc2658d79edd50e4f36265589321 /dev-haskell/cgi
parentNew version from ghc-6.6.1 extralibs collection. (diff)
downloadgentoo-2-cc07febab35e17d3e2c8a2c6b211d6ce915272f3.tar.gz
gentoo-2-cc07febab35e17d3e2c8a2c6b211d6ce915272f3.tar.bz2
gentoo-2-cc07febab35e17d3e2c8a2c6b211d6ce915272f3.zip
New version from ghc-6.6.1 extralibs collection.
(Portage version: 2.1.2.9)
Diffstat (limited to 'dev-haskell/cgi')
-rw-r--r--dev-haskell/cgi/ChangeLog7
-rw-r--r--dev-haskell/cgi/cgi-3001.1.1.ebuild30
-rw-r--r--dev-haskell/cgi/files/digest-cgi-3001.1.13
3 files changed, 39 insertions, 1 deletions
diff --git a/dev-haskell/cgi/ChangeLog b/dev-haskell/cgi/ChangeLog
index 30e9c5165b4b..63c2f6e407a1 100644
--- a/dev-haskell/cgi/ChangeLog
+++ b/dev-haskell/cgi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/cgi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cgi/ChangeLog,v 1.4 2007/07/08 15:35:07 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cgi/ChangeLog,v 1.5 2007/07/08 17:34:20 dcoutts Exp $
+
+*cgi-3001.1.1 (08 Jul 2007)
+
+ 08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> +cgi-3001.1.1.ebuild:
+ New version from ghc-6.6.1 extralibs collection.
08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> cgi-2006.9.6.ebuild:
Use dev-lang/ghc rather than virtual/ghc.
diff --git a/dev-haskell/cgi/cgi-3001.1.1.ebuild b/dev-haskell/cgi/cgi-3001.1.1.ebuild
new file mode 100644
index 000000000000..ab9cf67afbdb
--- /dev/null
+++ b/dev-haskell/cgi/cgi-3001.1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cgi/cgi-3001.1.1.ebuild,v 1.1 2007/07/08 17:34:20 dcoutts Exp $
+
+CABAL_FEATURES="lib profile haddock"
+inherit haskell-cabal
+
+GHC_PV=6.6.1
+
+DESCRIPTION="A haskell library for writing CGI programs"
+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
+ >=dev-haskell/mtl-1.0
+ >=dev-haskell/xhtml-3000.0.0
+ >=dev-haskell/network-2.0"
+
+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
+}
diff --git a/dev-haskell/cgi/files/digest-cgi-3001.1.1 b/dev-haskell/cgi/files/digest-cgi-3001.1.1
new file mode 100644
index 000000000000..ca36040367bc
--- /dev/null
+++ b/dev-haskell/cgi/files/digest-cgi-3001.1.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