summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2004-03-31 09:31:24 +0000
committerAndres Loeh <kosmikus@gentoo.org>2004-03-31 09:31:24 +0000
commitc0e333e80a7dbf3aee3d2f07b9527a9a520e51de (patch)
treeba4fc1d8119965b2523ef5be63870ddc4fd2d414 /dev-lang
parentFixing security problem, see bug #46246 (Manifest recommit) (diff)
downloadgentoo-2-c0e333e80a7dbf3aee3d2f07b9527a9a520e51de.tar.gz
gentoo-2-c0e333e80a7dbf3aee3d2f07b9527a9a520e51de.tar.bz2
gentoo-2-c0e333e80a7dbf3aee3d2f07b9527a9a520e51de.zip
readded ghc-bin-5.04.3 (still needed for ppc)
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-5.04.32
-rw-r--r--dev-lang/ghc-bin/ghc-bin-5.04.3.ebuild63
4 files changed, 74 insertions, 2 deletions
diff --git a/dev-lang/ghc-bin/ChangeLog b/dev-lang/ghc-bin/ChangeLog
index a19c7f5e8ca0..a67ecf5fca8c 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-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.13 2004/03/31 09:20:12 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.14 2004/03/31 09:31:24 kosmikus Exp $
+
+*ghc-bin-5.04.3 (31 Mar 2004)
+
+ 31 Mar 2004; Andres Loeh <kosmikus@gentoo.org> ghc-bin-5.04.3.ebuild:
+ Re-added ghc-bin-5.04.3 because of ppc.
31 Mar 2004; Andres Loeh <kosmikus@gentoo.org> ghc-bin-5.04.2-r1.ebuild,
ghc-bin-5.04.2.ebuild, ghc-bin-5.04.3.ebuild, ghc-bin-6.2.ebuild:
diff --git a/dev-lang/ghc-bin/Manifest b/dev-lang/ghc-bin/Manifest
index ac6df5844e59..fefe994667b2 100644
--- a/dev-lang/ghc-bin/Manifest
+++ b/dev-lang/ghc-bin/Manifest
@@ -1,7 +1,9 @@
+MD5 a56a1685cc277022559dbee0735b5cf3 ghc-bin-5.04.3.ebuild 1516
MD5 823be5e38034ef8b3372b7d723b47c1a ghc-bin-6.0.ebuild 1508
-MD5 9c9e6914502a16c90fcd9eeaac76c506 ChangeLog 2643
+MD5 eac122d2176010b999996ed95f16e23d ChangeLog 2789
MD5 a769ecfcd1cdd2d40986627df7dfb249 metadata.xml 224
MD5 3c384f9641f523a5912e08c47914e6da ghc-bin-6.2.ebuild 1382
MD5 a82ba08a8abb4ae38bcc8d467c665e7b files/10ghc 40
+MD5 2b726390b70f784de758ee02184ef450 files/digest-ghc-bin-5.04.3 171
MD5 981523171b835c239b68613e6080246d files/digest-ghc-bin-6.0 162
MD5 7131d05db80999f47946fedb5083ad01 files/digest-ghc-bin-6.2 81
diff --git a/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.3 b/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.3
new file mode 100644
index 000000000000..4deb90cd1343
--- /dev/null
+++ b/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.3
@@ -0,0 +1,2 @@
+MD5 22eb7880666ded5b8422c527327887a5 ghc-5.04.3-powerpc-unknown-linux.tar.bz2 31613122
+MD5 0307b36a3356e51e7a795dc607ae24a3 ghc-5.04.3-i386-unknown-linux.tar.bz2 15725661
diff --git a/dev-lang/ghc-bin/ghc-bin-5.04.3.ebuild b/dev-lang/ghc-bin/ghc-bin-5.04.3.ebuild
new file mode 100644
index 000000000000..560f2ddb18f2
--- /dev/null
+++ b/dev-lang/ghc-bin/ghc-bin-5.04.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ghc-bin-5.04.3.ebuild,v 1.7 2004/03/31 09:31:24 kosmikus Exp $
+
+IUSE="opengl"
+
+S="${WORKDIR}/ghc-${PV}"
+DESCRIPTION="Glasgow Haskell Compiler"
+SRC_URI=" ppc? ( http://www.haskell.org/ghc/dist/${PV}/ghc-${PV}-powerpc-unknown-linux.tar.bz2 )
+x86? ( http://www.haskell.org/ghc/dist/${PV}/ghc-${PV}-i386-unknown-linux.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
+ mv hslibs.ps users_guide.ps html ${D}/usr/share/doc/${PF}
+
+ #ghc seems to set locations in wrapper scripts from make install
+ #need to strip the ${D} part out
+ cd ${D}${LOC}/bin
+ clean_wrappers ghc-${PV} ghci-${PV} ghc-pkg-${PV} hsc2hs
+
+ insinto /etc/env.d
+ doins ${FILESDIR}/10ghc
+}
+
+clean_wrappers () {
+ for i in $*; do
+ mv ${i} ${i}-orig
+ sed -e "s:${D}::" ${i}-orig > ${i}
+ chmod a+x ${i}
+ rm ${i}-orig
+ done
+}