diff options
author | George Shapovalov <george@gentoo.org> | 2002-12-15 06:53:03 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2002-12-15 06:53:03 +0000 |
commit | c4b6b9c8496e18e7846e43d681c23114d6bf4966 (patch) | |
tree | e17784e8dbb6aefe995b22ef92f58a44d538bdb3 /dev-lang/ghc-bin | |
parent | Updated the digest file as upstream changed. (diff) | |
download | gentoo-2-c4b6b9c8496e18e7846e43d681c23114d6bf4966.tar.gz gentoo-2-c4b6b9c8496e18e7846e43d681c23114d6bf4966.tar.bz2 gentoo-2-c4b6b9c8496e18e7846e43d681c23114d6bf4966.zip |
new package - Glasgow Haskel Compiler, prebuilt for i386
Diffstat (limited to 'dev-lang/ghc-bin')
-rw-r--r-- | dev-lang/ghc-bin/ChangeLog | 15 | ||||
-rw-r--r-- | dev-lang/ghc-bin/files/digest-ghc-bin-5.04.2 | 1 | ||||
-rw-r--r-- | dev-lang/ghc-bin/ghc-bin-5.04.2.ebuild | 41 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-lang/ghc-bin/ChangeLog b/dev-lang/ghc-bin/ChangeLog new file mode 100644 index 000000000000..6cdf8f116060 --- /dev/null +++ b/dev-lang/ghc-bin/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for dev-lang/ghc-bin +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.1 2002/12/15 06:52:54 george Exp $ + +*ghc-bin-5.04.2.ebuild (14 äÅË 2002) + + 14 Dec 2002; George Shapovalov <george@gentoo.org> ChangeLog, ghc-bin-5.04.2.ebuild, files/digest-ghc-bin-5.04.2 : + initial release + Glasgow Haskell Compiler - binary package, prebuilt for i386 + + ghc has been quite a mess as well as a long and resurce-hungry compile. + This is a first step towards sorting things out. This is the binary installation of ghc, currently + for x86 only. It can be used to bootstrap ghc build from source. In fact it is *necessary* to use this + binary version to bootstrap ghc on >=gcc-3.2 systems. The old 4.08 ->5.04 way of bootstrapping fails + with gcc-3.2. diff --git a/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.2 b/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.2 new file mode 100644 index 000000000000..da24f1c246f7 --- /dev/null +++ b/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.2 @@ -0,0 +1 @@ +MD5 d71a362d714f155fdc19d4451c8d4582 ghc-5.04.2-i386-unknown-linux.tar.bz2 15659753 diff --git a/dev-lang/ghc-bin/ghc-bin-5.04.2.ebuild b/dev-lang/ghc-bin/ghc-bin-5.04.2.ebuild new file mode 100644 index 000000000000..c6e4392a1f26 --- /dev/null +++ b/dev-lang/ghc-bin/ghc-bin-5.04.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2002 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-5.04.2.ebuild,v 1.1 2002/12/15 06:52:54 george Exp $ + +IUSE="opengl" + +S="${WORKDIR}/ghc-5.04.2" +DESCRIPTION="Glasgow Haskell Compiler" +SRC_URI="http://www.haskell.org/ghc/dist/5.04.2/ghc-5.04.2-i386-unknown-linux.tar.bz2" +HOMEPAGE="http://www.haskell.org" + +LICENSE="as-is" +KEYWORDS="~x86 -ppc -sparc -alpha" +SLOT="0" + +DEPEND="virtual/glibc" +RDEPEND=">=sys-devel/perl-5.6.1 + >=sys-devel/gcc-2.95.3 + >=dev-libs/gmp-4.1 + opengl? ( virtual/opengl + virtual/glu + virtual/glut )" + +src_compile() { + econf || die "./configure failed" +} + +src_install () { + make \ + prefix=${D}/usr \ + datadir=${D}/usr/share \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + install || die + + # Install documentation. + dodoc ANNOUNCE INSTALL LICENSE README VERSION + + cd ${D}/usr/share + mv hslibs.ps users_guide.ps html/ ${D}/usr/share/doc/${PF} +} |