summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2003-05-09 09:41:39 +0000
committerAndres Loeh <kosmikus@gentoo.org>2003-05-09 09:41:39 +0000
commitf4b037b7fbb2deb0e45666161729d418a38cb2d2 (patch)
tree56f1845b040a290879ffa3c3e691fdd6c1683e36 /dev-lang/ghc-bin
parentnew ebuild version ghc-5.04.3-r1 (diff)
downloadgentoo-2-f4b037b7fbb2deb0e45666161729d418a38cb2d2.tar.gz
gentoo-2-f4b037b7fbb2deb0e45666161729d418a38cb2d2.tar.bz2
gentoo-2-f4b037b7fbb2deb0e45666161729d418a38cb2d2.zip
new ebuilds for ghc-bin install to /opt instead of /usr
Diffstat (limited to 'dev-lang/ghc-bin')
-rw-r--r--dev-lang/ghc-bin/ChangeLog13
-rw-r--r--dev-lang/ghc-bin/files/digest-ghc-bin-5.04.2-r11
-rw-r--r--dev-lang/ghc-bin/files/digest-ghc-bin-5.04.31
-rw-r--r--dev-lang/ghc-bin/ghc-bin-5.04.2-r1.ebuild62
-rw-r--r--dev-lang/ghc-bin/ghc-bin-5.04.3.ebuild62
5 files changed, 136 insertions, 3 deletions
diff --git a/dev-lang/ghc-bin/ChangeLog b/dev-lang/ghc-bin/ChangeLog
index a50d82ae434c..47c437fdbec0 100644
--- a/dev-lang/ghc-bin/ChangeLog
+++ b/dev-lang/ghc-bin/ChangeLog
@@ -1,6 +1,15 @@
# 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.4 2003/03/22 08:33:57 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.5 2003/05/09 09:41:39 kosmikus Exp $
+
+*ghc-bin-5.04.3 (09 May 2003)
+
+ 09 May 2003; Andres Loeh <kosmikus@gentoo.org> ghc-bin-5.04.2-r1.ebuild,
+ ghc-bin-5.04.3.ebuild:
+ Installs to /opt/ghc/bin now (bug #20185). Updated to version 5.04.3.
+ Both updates are marked unstable for now.
+
+*ghc-bin-5.04.2.ebuild (21 Mar 2003)
21 Mar 2003; George Shapovalov <george@gentoo.org> ghc-bin-5.04.2.ebuild :
created virtual/ghc, added PROVIDE=virtual/ghc to the ebuild to make dev-lang/ghc bootstrap correctly
@@ -10,8 +19,6 @@
modified ebuild to add sparc support (sparc people, please test!)
fixups to wrapper scripts
-*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
diff --git a/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.2-r1 b/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.2-r1
new file mode 100644
index 000000000000..da24f1c246f7
--- /dev/null
+++ b/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.2-r1
@@ -0,0 +1 @@
+MD5 d71a362d714f155fdc19d4451c8d4582 ghc-5.04.2-i386-unknown-linux.tar.bz2 15659753
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..5874dc74964a
--- /dev/null
+++ b/dev-lang/ghc-bin/files/digest-ghc-bin-5.04.3
@@ -0,0 +1 @@
+MD5 0307b36a3356e51e7a795dc607ae24a3 ghc-5.04.3-i386-unknown-linux.tar.bz2 15725661
diff --git a/dev-lang/ghc-bin/ghc-bin-5.04.2-r1.ebuild b/dev-lang/ghc-bin/ghc-bin-5.04.2-r1.ebuild
new file mode 100644
index 000000000000..f78fa075ae52
--- /dev/null
+++ b/dev-lang/ghc-bin/ghc-bin-5.04.2-r1.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-5.04.2-r1.ebuild,v 1.1 2003/05/09 09:41:39 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
+}
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..977482dcf7fb
--- /dev/null
+++ b/dev-lang/ghc-bin/ghc-bin-5.04.3.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-5.04.3.ebuild,v 1.1 2003/05/09 09:41:39 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
+}