summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:41:57 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-07-08 17:41:57 +0000
commit1fbc18b903c06187be3f7d09e77da4b5474f220e (patch)
tree389f5100b47a94bcad54757e95381ed40879436d /dev-haskell/network
parentVersion bump (diff)
downloadhistorical-1fbc18b903c06187be3f7d09e77da4b5474f220e.tar.gz
historical-1fbc18b903c06187be3f7d09e77da4b5474f220e.tar.bz2
historical-1fbc18b903c06187be3f7d09e77da4b5474f220e.zip
New version from ghc-6.6.1 extralibs collection.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'dev-haskell/network')
-rw-r--r--dev-haskell/network/ChangeLog7
-rw-r--r--dev-haskell/network/files/digest-network-2.0.13
-rw-r--r--dev-haskell/network/network-2.0.1.ebuild29
3 files changed, 38 insertions, 1 deletions
diff --git a/dev-haskell/network/ChangeLog b/dev-haskell/network/ChangeLog
index 8f6a54b25a78..0b492f417e99 100644
--- a/dev-haskell/network/ChangeLog
+++ b/dev-haskell/network/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/network
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/network/ChangeLog,v 1.16 2007/07/08 15:49:01 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/network/ChangeLog,v 1.17 2007/07/08 17:38:46 dcoutts Exp $
+
+*network-2.0.1 (08 Jul 2007)
+
+ 08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> +network-2.0.1.ebuild:
+ New version from ghc-6.6.1 extralibs collection.
08 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> network-2.0.ebuild:
Use dev-lang/ghc rather than virtual/ghc.
diff --git a/dev-haskell/network/files/digest-network-2.0.1 b/dev-haskell/network/files/digest-network-2.0.1
new file mode 100644
index 000000000000..ca36040367bc
--- /dev/null
+++ b/dev-haskell/network/files/digest-network-2.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/network/network-2.0.1.ebuild b/dev-haskell/network/network-2.0.1.ebuild
new file mode 100644
index 000000000000..5516623a40a7
--- /dev/null
+++ b/dev-haskell/network/network-2.0.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/network/network-2.0.1.ebuild,v 1.1 2007/07/08 17:38:46 dcoutts Exp $
+
+CABAL_FEATURES="lib profile haddock"
+inherit haskell-cabal
+
+GHC_PV=6.6.1
+
+DESCRIPTION="Haskell network 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 -e "/type Hook/ s/UserHooks/Maybe UserHooks/" \
+ -e "/^add_configure_options ::/ d" \
+ -i ${S}/Setup.hs
+}