summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2006-03-26 23:01:55 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2006-03-26 23:01:55 +0000
commit2551ee8646408403c8ece2404e0219e04cd212d3 (patch)
treed5cf90d8ee2d76b1ee24ad5aa276e3786e9e6877 /dev-lang/ghc-bin
parentgwenhywfar ebuild cleanup (diff)
downloadgentoo-2-2551ee8646408403c8ece2404e0219e04cd212d3.tar.gz
gentoo-2-2551ee8646408403c8ece2404e0219e04cd212d3.tar.bz2
gentoo-2-2551ee8646408403c8ece2404e0219e04cd212d3.zip
Added ia64 binary. Currently the new rev bump is only for ia64. Removed hacks that were needed to support older binary builds.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'dev-lang/ghc-bin')
-rw-r--r--dev-lang/ghc-bin/ChangeLog8
-rw-r--r--dev-lang/ghc-bin/Manifest36
-rw-r--r--dev-lang/ghc-bin/files/digest-ghc-bin-6.4.1-r13
-rw-r--r--dev-lang/ghc-bin/ghc-bin-6.4.1-r1.ebuild64
4 files changed, 100 insertions, 11 deletions
diff --git a/dev-lang/ghc-bin/ChangeLog b/dev-lang/ghc-bin/ChangeLog
index 05adc0a03dfe..f5ebafa3d3f5 100644
--- a/dev-lang/ghc-bin/ChangeLog
+++ b/dev-lang/ghc-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/ghc-bin
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.46 2006/03/23 20:44:36 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.47 2006/03/26 23:01:55 dcoutts Exp $
+
+*ghc-bin-6.4.1-r1 (26 Mar 2006)
+
+ 26 Mar 2006; Duncan Coutts <dcoutts@gentoo.org> +ghc-bin-6.4.1-r1.ebuild:
+ Added ia64 binary. Currently the new rev bump is only for ia64.
+ Removed hacks that were needed to support older binary builds.
23 Mar 2006; Chris White <chriswhite@gentoo.org> ghc-bin-6.4.1.ebuild:
Marked ghc-bin-6.4.1 amd64/x86 stable for bug #126134.
diff --git a/dev-lang/ghc-bin/Manifest b/dev-lang/ghc-bin/Manifest
index 1259c42aa8e7..70431ecb41df 100644
--- a/dev-lang/ghc-bin/Manifest
+++ b/dev-lang/ghc-bin/Manifest
@@ -1,20 +1,36 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 c4cb279385a846f5197b30e6a41422a8 ChangeLog 7384
+RMD160 ace07ca66b6ccf9619cfdaad62843b06fdec6640 ChangeLog 7384
+SHA256 589122be5f0fc87004a9a1993a66f3d863f21ac0f030ee63a58ebff0e96daad1 ChangeLog 7384
MD5 a82ba08a8abb4ae38bcc8d467c665e7b files/10ghc 40
+RMD160 1c9e367fa4ea2fa2d3a046986b066b157964390a files/10ghc 40
+SHA256 86c80e876343456b1a1407365bfc2a441bf4c6ca23d3549d67bd800abd617e2f files/10ghc 40
MD5 aeec673d67613d60a91b5d8d3a11b184 files/digest-ghc-bin-6.2.2-r1 218
+RMD160 ec9088c935c58ffdadeb3310819ede63712793e2 files/digest-ghc-bin-6.2.2-r1 218
+SHA256 27da3cb3e1e5829050642fa2570133da844326acaece3d7d4b01f6aea339adb0 files/digest-ghc-bin-6.2.2-r1 218
MD5 3919aa4d517b8bc37bc59b8e7dc4a334 files/digest-ghc-bin-6.4 356
+RMD160 13ea1e427826db4d10d4d9e96b88bfe2506e0884 files/digest-ghc-bin-6.4 356
+SHA256 5e83dc0703f66384d8b2a45993ef6b4ffc2bbd2bd01c8d4ffd8234a25e984bd8 files/digest-ghc-bin-6.4 356
MD5 83488d2213f2b8e9a99161f03490f759 files/digest-ghc-bin-6.4.1 492
+RMD160 666bc8e5c1b7cc604f8eacbc42aa3b7066054a68 files/digest-ghc-bin-6.4.1 492
+SHA256 76d931f31cd9829b712c46f7cbcd692d2cb8125291b51f82860f193e087eec62 files/digest-ghc-bin-6.4.1 492
+MD5 e49b3a1aec63d4aa0ebfe77249f1f3f2 files/digest-ghc-bin-6.4.1-r1 256
+RMD160 8b20c5760b7f000a828e409c1bb77059bf3d74da files/digest-ghc-bin-6.4.1-r1 256
+SHA256 a2f0fb2ba46f520d9ae3b8bb4b793c429e5c76b12c048acc13e4df1849716b75 files/digest-ghc-bin-6.4.1-r1 256
MD5 e7ba0887c43fd8333a4d1bd92c184244 files/ghc-updater 9045
+RMD160 b044a26add18464b583702f3cac667521c5eb06f files/ghc-updater 9045
+SHA256 eafc2eb58a9c1ad0263fd498cad00f50b0d04860cd8e26aa201910f77d74efbe files/ghc-updater 9045
MD5 d4c41357e843c4af8ce3e6a4c1596627 ghc-bin-6.2.2-r1.ebuild 1032
+RMD160 461f55af3bb3f3476e728c13dd74218b92e7f3f5 ghc-bin-6.2.2-r1.ebuild 1032
+SHA256 c9ab4aff68caa9f4aba1dd53d170d462546fce28edd78435595666ad60e9332b ghc-bin-6.2.2-r1.ebuild 1032
+MD5 a0a110e053fbcae1e64dc7ab49be18ca ghc-bin-6.4.1-r1.ebuild 1385
+RMD160 722a805b303a6cf0ac58657d0d4790487f25ce25 ghc-bin-6.4.1-r1.ebuild 1385
+SHA256 05b885764b4974b3ab89ca9257a0024a3ad5f345cc96092596ee38ab9794b89d ghc-bin-6.4.1-r1.ebuild 1385
MD5 78af58acea9182c845d902df7febc75c ghc-bin-6.4.1.ebuild 3277
+RMD160 2b5d86f41db08dd4fa295177ab4a48af2dda0664 ghc-bin-6.4.1.ebuild 3277
+SHA256 e9923abb32c5b6ebce65307fb838ae9a6a760f1b5374e205d0622c22dd6bd359 ghc-bin-6.4.1.ebuild 3277
MD5 9e5e3b68f1863c338a231811b31c00f1 ghc-bin-6.4.ebuild 1137
+RMD160 4b91634424e684abe68dbfbc5556cf62614329a3 ghc-bin-6.4.ebuild 1137
+SHA256 a6bcd36a94ce3232d6351e08415ebf591ff011f3604e6183d24da7f6728b4847 ghc-bin-6.4.ebuild 1137
MD5 c694674dcbef799cd4fdb6914683ebff metadata.xml 223
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
-
-iD8DBQFEIwi8FdQwWVoAgN4RAuoyAKCU9sAedSdRO3MGYJX7Js1i4I2glwCg76Hj
-+Wek4LQ0BnIvux/Z6pmWQZU=
-=dBoF
------END PGP SIGNATURE-----
+RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 metadata.xml 223
+SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508 metadata.xml 223
diff --git a/dev-lang/ghc-bin/files/digest-ghc-bin-6.4.1-r1 b/dev-lang/ghc-bin/files/digest-ghc-bin-6.4.1-r1
new file mode 100644
index 000000000000..118371c217ba
--- /dev/null
+++ b/dev-lang/ghc-bin/files/digest-ghc-bin-6.4.1-r1
@@ -0,0 +1,3 @@
+MD5 94d4673ccbac4bf449ed1c448260136f ghc-bin-6.4.1-ia64.tbz2 40220699
+RMD160 683e4f56c2a3244947a8658680209aa0ffef90d0 ghc-bin-6.4.1-ia64.tbz2 40220699
+SHA256 c37f32930cfe594b940ca24b85ced1cd5057c801b67666e12b2e38173220b873 ghc-bin-6.4.1-ia64.tbz2 40220699
diff --git a/dev-lang/ghc-bin/ghc-bin-6.4.1-r1.ebuild b/dev-lang/ghc-bin/ghc-bin-6.4.1-r1.ebuild
new file mode 100644
index 000000000000..9e4db447fe88
--- /dev/null
+++ b/dev-lang/ghc-bin/ghc-bin-6.4.1-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ghc-bin-6.4.1-r1.ebuild,v 1.1 2006/03/26 23:01:55 dcoutts Exp $
+
+inherit base multilib ghc-package
+
+DESCRIPTION="Glasgow Haskell Compiler"
+HOMEPAGE="http://www.haskell.org/ghc/"
+# list all arches for proper digest building:
+SRC_URI="ia64? ( mirror://gentoo/${P}-ia64.tbz2 )"
+
+LICENSE="as-is"
+KEYWORDS="-* ~ia64"
+SLOT="0"
+IUSE="" # use the non-binary version if you want to have more choice
+
+RESTRICT="nostrip" # already stripped
+
+LOC="/opt/ghc"
+
+DEPEND=""
+RDEPEND=">=dev-lang/perl-5.6.1
+ >=sys-devel/gcc-2.95.3
+ >=dev-libs/gmp-4.1
+ =sys-libs/readline-5*"
+
+PROVIDE="virtual/ghc"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ base_src_unpack
+ cd "${S}"
+
+ # relocate from /usr to /opt/ghc
+ sed -i -e "s|/usr|${LOC}|g" \
+ usr/bin/ghc-${PV} usr/bin/ghci-${PV} usr/bin/ghc-pkg-${PV} \
+ usr/bin/hsc2hs usr/$(get_libdir)/ghc-${PV}/package.conf
+
+ sed -i -e "s|/usr/$(get_libdir)|${LOC}/$(get_libdir)|" \
+ usr/bin/ghcprof
+}
+
+src_compile() {
+ mkdir -p ./${LOC}
+ mv usr/* ./${LOC}
+ rmdir usr
+}
+
+src_install () {
+ mv * "${D}"
+
+ insinto /etc/env.d
+ doins "${FILESDIR}/10ghc"
+}
+
+pkg_postinst () {
+ ghc-reregister
+ ewarn "IMPORTANT:"
+ ewarn "If you have upgraded from another version of ghc-bin or"
+ ewarn "if you have switched from ghc to ghc-bin, please run:"
+ ewarn " /opt/ghc/sbin/ghc-updater"
+ ewarn "to re-merge all ghc-based Haskell libraries."
+}