diff options
author | Andres Loeh <kosmikus@gentoo.org> | 2003-12-17 18:05:29 +0000 |
---|---|---|
committer | Andres Loeh <kosmikus@gentoo.org> | 2003-12-17 18:05:29 +0000 |
commit | 803ed34c876dd6830897e6789007998f1b769588 (patch) | |
tree | 7cb9492874cd33eff6dc8369893ab4b894e9715f /dev-lang | |
parent | ebuild for new release 6.2 (diff) | |
download | gentoo-2-803ed34c876dd6830897e6789007998f1b769588.tar.gz gentoo-2-803ed34c876dd6830897e6789007998f1b769588.tar.bz2 gentoo-2-803ed34c876dd6830897e6789007998f1b769588.zip |
ebuild for new release 6.2
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/ghc-bin/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/ghc-bin/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/ghc-bin/files/digest-ghc-bin-6.2 | 1 | ||||
-rw-r--r-- | dev-lang/ghc-bin/ghc-bin-6.2.ebuild | 59 |
4 files changed, 68 insertions, 3 deletions
diff --git a/dev-lang/ghc-bin/ChangeLog b/dev-lang/ghc-bin/ChangeLog index 1c08901f325e..2ca44421ad1d 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-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.9 2003/07/21 11:15:07 kosmikus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc-bin/ChangeLog,v 1.10 2003/12/17 18:05:15 kosmikus Exp $ + +*ghc-bin-6.2 (17 Dec 2003) + + 17 Dec 2003; Andres Loeh <kosmikus@gentoo.org> ghc-bin-6.2.ebuild: + Version bump. 21 Jul 2003; Andres Loeh <kosmikus@gentoo.org> ghc-bin-5.04.3.ebuild: ghc 5.04.3 is apparently not available for sparc as binary, changed KEYWORDS diff --git a/dev-lang/ghc-bin/Manifest b/dev-lang/ghc-bin/Manifest index 8e0268f87a21..f3e859a7f6d6 100644 --- a/dev-lang/ghc-bin/Manifest +++ b/dev-lang/ghc-bin/Manifest @@ -1,9 +1,9 @@ MD5 361b822a5cd9102b3748fb15409e2a65 ghc-bin-5.04.2.ebuild 1608 MD5 3e2c457c5b17491a35aceeaba47f8fbd ghc-bin-5.04.3.ebuild 1414 MD5 823be5e38034ef8b3372b7d723b47c1a ghc-bin-6.0.ebuild 1508 -MD5 85dd2f6327023bad5ad8f7f09b278c5c ChangeLog 2251 +MD5 bca324004dcef468390c0d7a7b2a397a ChangeLog 2366 MD5 a769ecfcd1cdd2d40986627df7dfb249 metadata.xml 224 -MD5 6e4f62deaede267298dbb9efaea8322f ghc-bin-6.2.ebuild 1412 +MD5 bd1232194e36321c669154ef873bced2 ghc-bin-6.2.ebuild 1383 MD5 0aa00db4628bd5c0aebffb6d4669d3b0 ghc-bin-5.04.2-r1.ebuild 1690 MD5 a82ba08a8abb4ae38bcc8d467c665e7b files/10ghc 40 MD5 eae786c61788fdd5fbe135563565f6e0 files/digest-ghc-bin-5.04.2 168 diff --git a/dev-lang/ghc-bin/files/digest-ghc-bin-6.2 b/dev-lang/ghc-bin/files/digest-ghc-bin-6.2 new file mode 100644 index 000000000000..618a81cccc60 --- /dev/null +++ b/dev-lang/ghc-bin/files/digest-ghc-bin-6.2 @@ -0,0 +1 @@ +MD5 5b2f19ca00fd7494002047d7fb4dce3e ghc-6.2-i386-unknown-linux.tar.bz2 13466593 diff --git a/dev-lang/ghc-bin/ghc-bin-6.2.ebuild b/dev-lang/ghc-bin/ghc-bin-6.2.ebuild new file mode 100644 index 000000000000..cfffb3cf82e4 --- /dev/null +++ b/dev-lang/ghc-bin/ghc-bin-6.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 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-6.2.ebuild,v 1.1 2003/12/17 18:05:15 kosmikus Exp $ + +IUSE="" # opengl not included in binary + +S="${WORKDIR}/ghc-${PV}" +DESCRIPTION="Glasgow Haskell Compiler" +SRC_URI="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" + +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 +} |