summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2003-06-12 15:25:07 +0000
committerAndres Loeh <kosmikus@gentoo.org>2003-06-12 15:25:07 +0000
commit6644abfc96781a3ccecff8e2655120260ffd447b (patch)
tree62f4ea50127a1447a6ada95ee4606ae91e400311 /dev-lang
parentupdated to GHC 6.0 (diff)
downloadgentoo-2-6644abfc96781a3ccecff8e2655120260ffd447b.tar.gz
gentoo-2-6644abfc96781a3ccecff8e2655120260ffd447b.tar.bz2
gentoo-2-6644abfc96781a3ccecff8e2655120260ffd447b.zip
updated to GHC 6.0
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ghc-bin/ChangeLog7
-rw-r--r--dev-lang/ghc-bin/Manifest4
-rw-r--r--dev-lang/ghc-bin/files/digest-ghc-bin-6.02
-rw-r--r--dev-lang/ghc-bin/ghc-bin-6.0.ebuild62
4 files changed, 72 insertions, 3 deletions
diff --git a/dev-lang/ghc-bin/ChangeLog b/dev-lang/ghc-bin/ChangeLog
index 47c437fdbec0..c862e00b1022 100644
--- a/dev-lang/ghc-bin/ChangeLog
+++ b/dev-lang/ghc-bin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/ghc-bin
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.5 2003/05/09 09:41:39 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.6 2003/06/12 15:24:53 kosmikus Exp $
+
+*ghc-bin-6.0 (12 Jun 2003)
+
+ 12 Jun 2003; Andres Loeh <kosmikus@gentoo.org> ghc-bin-6.0.ebuild:
+ Version bump.
*ghc-bin-5.04.3 (09 May 2003)
diff --git a/dev-lang/ghc-bin/Manifest b/dev-lang/ghc-bin/Manifest
index e1c5d29f0a0e..6b22c863ae0c 100644
--- a/dev-lang/ghc-bin/Manifest
+++ b/dev-lang/ghc-bin/Manifest
@@ -1,7 +1,7 @@
MD5 f76a3e13ba398df26d227397c1af59ca ghc-bin-5.04.2.ebuild 1618
MD5 9a2ae4ae505d756d3476331300c0b703 ghc-bin-5.04.3.ebuild 1700
-MD5 9a2ae4ae505d756d3476331300c0b703 ghc-bin-6.0.ebuild 1700
-MD5 94e268980bbbf8d2a61ca9043fa7fe65 ChangeLog 1514
+MD5 f6f17757192de379dc182655db565707 ghc-bin-6.0.ebuild 1697
+MD5 1faa00112a2a416adf06bac0cf6160ed ChangeLog 1628
MD5 2b946cf5ef71cb59f8d36fe5516b50e0 ghc-bin-5.04.2-r1.ebuild 1703
MD5 a82ba08a8abb4ae38bcc8d467c665e7b files/10ghc 40
MD5 1a0c5a5913e05b312194bc44cf1472e5 files/digest-ghc-bin-5.04.2 84
diff --git a/dev-lang/ghc-bin/files/digest-ghc-bin-6.0 b/dev-lang/ghc-bin/files/digest-ghc-bin-6.0
new file mode 100644
index 000000000000..e66914d580da
--- /dev/null
+++ b/dev-lang/ghc-bin/files/digest-ghc-bin-6.0
@@ -0,0 +1,2 @@
+MD5 28b9e6d52f3dc41111d0dce65468a8e7 ghc-6.0-i386-unknown-linux.tar.bz2 13353634
+MD5 fc054a80a6ae9b25d8f83509505ee4d6 ghc-6.0-sparc-sun-solaris2.tar.bz2 17593707
diff --git a/dev-lang/ghc-bin/ghc-bin-6.0.ebuild b/dev-lang/ghc-bin/ghc-bin-6.0.ebuild
new file mode 100644
index 000000000000..bdd305992f73
--- /dev/null
+++ b/dev-lang/ghc-bin/ghc-bin-6.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ghc-bin-6.0.ebuild,v 1.1 2003/06/12 15:24:53 kosmikus Exp $
+
+IUSE="opengl"
+
+S="${WORKDIR}/ghc-${PV}"
+DESCRIPTION="Glasgow Haskell Compiler"
+SRC_URI="x86? ( http://www.haskell.org/ghc/dist/${PV}/ghc-${PV}-i386-unknown-linux.tar.bz2 )
+ sparc? ( http://www.haskell.org/ghc/dist/${PV}/ghc-${PV}-sparc-sun-solaris2.tar.bz2 )"
+HOMEPAGE="http://www.haskell.org"
+
+LICENSE="as-is"
+KEYWORDS="~x86 -ppc ~sparc -alpha"
+SLOT="0"
+
+LOC="/opt/ghc"
+
+DEPEND="virtual/glibc"
+RDEPEND=">=dev-lang/perl-5.6.1
+ >=sys-devel/gcc-2.95.3
+ >=dev-libs/gmp-4.1
+ opengl? ( virtual/opengl
+ virtual/glu
+ virtual/glut )"
+
+PROVIDE="virtual/ghc"
+
+src_compile() {
+ econf || die "./configure failed"
+}
+
+src_install () {
+ make \
+ prefix=${D}${LOC} \
+ datadir=${D}${LOC}/share \
+ mandir=${D}${LOC}/share/man \
+ infodir=${D}${LOC}/share/info \
+ install || die
+
+ # Install documentation.
+ dodoc ANNOUNCE INSTALL LICENSE README VERSION
+
+ cd ${D}${LOC}/share
+ mkdir ${D}${LOC}/doc/${PF}
+ mv hslibs.ps users_guide.ps html/ ${D}${LOC}/doc/${PF}
+
+ #ghc seems to set locations in wrapper scripts from make install
+ #need to strip the ${D} part out
+ cd ${D}${LOC}/bin
+ mv ghc-${PV} ghc-${PV}-orig
+ sed -e "s:${D}::" ghc-${PV}-orig > ghc-${PV}
+ mv ghci-${PV} ghci-${PV}-orig
+ sed -e "s:${D}::" ghci-${PV}-orig > ghci-${PV}
+ mv ghc-pkg-${PV} ghc-pkg-${PV}-orig
+ sed -e "s:${D}::" ghc-pkg-${PV}-orig > ghc-pkg-${PV}
+ rm ghc-${PV}-orig ghci-${PV}-orig ghc-pkg-${PV}-orig
+ chmod a+x ghc-${PV} ghci-${PV} ghc-pkg-${PV}
+
+ insinto /etc/env.d
+ doins ${FILESDIR}/10ghc
+}