summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2005-05-20 13:40:00 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2005-05-20 13:40:00 +0000
commit44d82fbeb682b262138521540ee0be93584a56a3 (patch)
treec5a2ef8971ce064dd2c24c214f80910441a0a321 /dev-lang
parentInherit pam eclass for newpamd. (diff)
downloadgentoo-2-44d82fbeb682b262138521540ee0be93584a56a3.tar.gz
gentoo-2-44d82fbeb682b262138521540ee0be93584a56a3.tar.bz2
gentoo-2-44d82fbeb682b262138521540ee0be93584a56a3.zip
Add a new ghc-bin-6.2.2-r1 ebuild based on the ghc-bin-6.4 "portage tbz2 style" Initially this only covers ~sparc but we'll extend it later to the other arches.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ghc-bin/ChangeLog9
-rw-r--r--dev-lang/ghc-bin/Manifest16
-rw-r--r--dev-lang/ghc-bin/files/digest-ghc-bin-6.2.2-r11
-rw-r--r--dev-lang/ghc-bin/ghc-bin-6.2.2-r1.ebuild39
4 files changed, 57 insertions, 8 deletions
diff --git a/dev-lang/ghc-bin/ChangeLog b/dev-lang/ghc-bin/ChangeLog
index 0d3918dccbea..69b84a254745 100644
--- a/dev-lang/ghc-bin/ChangeLog
+++ b/dev-lang/ghc-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/ghc-bin
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.24 2005/05/09 15:47:39 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.25 2005/05/20 13:40:00 dcoutts Exp $
+
+*ghc-bin-6.2.2-r1 (20 May 2005)
+
+ 20 May 2005; <duncan@gentoo.org> +ghc-bin-6.2.2-r1.ebuild:
+ Add a new ghc-bin-6.2.2-r1 ebuild based on the ghc-bin-6.4 "portage tbz2
+ style" Initially this only covers ~sparc but we'll extend it later to the
+ other arches.
09 May 2005; Markus Rothe <corsair@gentoo.org> ghc-bin-6.4.ebuild:
Created binary and added ~ppc64 to KEYWORDS - bug #68930
diff --git a/dev-lang/ghc-bin/Manifest b/dev-lang/ghc-bin/Manifest
index f49799453f18..4a42a36b80b4 100644
--- a/dev-lang/ghc-bin/Manifest
+++ b/dev-lang/ghc-bin/Manifest
@@ -1,15 +1,17 @@
+MD5 2e378d24e7b65a23163b540a7dd4ae26 ghc-bin-6.2.2.ebuild 1381
+MD5 9d0e22b034ffd768804547b2809dd776 ghc-bin-6.4.ebuild 966
+MD5 fe7e763a4efbfaf6eea006808447e498 ghc-bin-6.2.2-r1.ebuild 820
+MD5 c02506789223046ac719ef24f918fab9 ghc-bin-6.2.1.ebuild 1640
MD5 87f638e52cf614305933dde23f040a8c ghc-bin-5.04.3.ebuild 1500
MD5 b212f1597cb7af84480f1179b52b56b3 ghc-bin-6.0.ebuild 1497
-MD5 c02506789223046ac719ef24f918fab9 ghc-bin-6.2.1.ebuild 1640
-MD5 2e378d24e7b65a23163b540a7dd4ae26 ghc-bin-6.2.2.ebuild 1381
-MD5 94cd2dd0f18a3b65e9740d6d1148e09a ghc-bin-6.2.ebuild 1369
+MD5 bfd702caac47ef055c915ecb7f67eb70 ChangeLog 4387
MD5 a769ecfcd1cdd2d40986627df7dfb249 metadata.xml 224
-MD5 9d0e22b034ffd768804547b2809dd776 ghc-bin-6.4.ebuild 966
-MD5 2ed0557f1fa71829a9788a79ebcd279d ChangeLog 4125
+MD5 94cd2dd0f18a3b65e9740d6d1148e09a ghc-bin-6.2.ebuild 1369
MD5 a82ba08a8abb4ae38bcc8d467c665e7b files/10ghc 40
+MD5 42a1da9d86ec405ba28644ee8036a40c files/digest-ghc-bin-6.2.1 69
+MD5 f64b7d061f8c67720e33afb647de7486 files/digest-ghc-bin-6.2.2 83
MD5 2b726390b70f784de758ee02184ef450 files/digest-ghc-bin-5.04.3 171
+MD5 4f1c74f48f50275ff55f94f63a5f47b3 files/digest-ghc-bin-6.2.2-r1 71
MD5 981523171b835c239b68613e6080246d files/digest-ghc-bin-6.0 162
MD5 7131d05db80999f47946fedb5083ad01 files/digest-ghc-bin-6.2 81
-MD5 42a1da9d86ec405ba28644ee8036a40c files/digest-ghc-bin-6.2.1 69
-MD5 f64b7d061f8c67720e33afb647de7486 files/digest-ghc-bin-6.2.2 83
MD5 f64499ed763439c3d4eb3b404c86a6c7 files/digest-ghc-bin-6.4 136
diff --git a/dev-lang/ghc-bin/files/digest-ghc-bin-6.2.2-r1 b/dev-lang/ghc-bin/files/digest-ghc-bin-6.2.2-r1
new file mode 100644
index 000000000000..3abf017d097e
--- /dev/null
+++ b/dev-lang/ghc-bin/files/digest-ghc-bin-6.2.2-r1
@@ -0,0 +1 @@
+MD5 811a5763546034a428de51f5097bb96a ghc-bin-6.2.2-sparc.tbz2 19477310
diff --git a/dev-lang/ghc-bin/ghc-bin-6.2.2-r1.ebuild b/dev-lang/ghc-bin/ghc-bin-6.2.2-r1.ebuild
new file mode 100644
index 000000000000..b8ad8310a825
--- /dev/null
+++ b/dev-lang/ghc-bin/ghc-bin-6.2.2-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 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.2.2-r1.ebuild,v 1.1 2005/05/20 13:40:00 dcoutts Exp $
+
+IUSE="" # use the non-binary version if you want to have more choice
+
+DESCRIPTION="Glasgow Haskell Compiler"
+# list all arches for proper digest building:
+SRC_URI="sparc? ( mirror://gentoo/${P}-sparc.tbz2 )"
+HOMEPAGE="http://www.haskell.org/ghc/"
+
+LICENSE="as-is"
+KEYWORDS="-x86 -amd64 -ppc ~sparc -alpha"
+SLOT="0"
+
+RESTRICT="nostrip" # already stripped
+
+LOC="/opt/ghc"
+
+DEPEND=""
+RDEPEND=">=dev-lang/perl-5.6.1
+ >=sys-devel/gcc-2.95.3
+ =sys-libs/readline-4*"
+
+PROVIDE="virtual/ghc"
+
+S="${WORKDIR}"
+
+src_compile() {
+ sed -i "s|/usr|${LOC}|g" usr/bin/* usr/lib/ghc-${PV}/package.conf
+ mkdir -p ./${LOC}
+ mv usr/* ./${LOC}
+}
+
+src_install () {
+ mv * ${D}
+ insinto /etc/env.d
+ doins ${FILESDIR}/10ghc
+}