summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-04-17 20:07:20 +0000
committerVlastimil Babka <caster@gentoo.org>2009-04-17 20:07:20 +0000
commit7c9db13c2c7e16b3a72f92a3001547bb0a6c0057 (patch)
treee45de8fdc4fa64aed1e48d121e5dd2addab9700c /dev-lang/helium/helium-1.1.ebuild
parentMigrate to gen-2 java eclass, bug #258335. (diff)
downloadhistorical-7c9db13c2c7e16b3a72f92a3001547bb0a6c0057.tar.gz
historical-7c9db13c2c7e16b3a72f92a3001547bb0a6c0057.tar.bz2
historical-7c9db13c2c7e16b3a72f92a3001547bb0a6c0057.zip
Migrate to gen-2 java eclasses, bug #161426.
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/helium/helium-1.1.ebuild')
-rw-r--r--dev-lang/helium/helium-1.1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-lang/helium/helium-1.1.ebuild b/dev-lang/helium/helium-1.1.ebuild
index e7360de8fe43..595416dcfaaf 100644
--- a/dev-lang/helium/helium-1.1.ebuild
+++ b/dev-lang/helium/helium-1.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/helium/helium-1.1.ebuild,v 1.20 2007/10/31 13:22:01 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/helium/helium-1.1.ebuild,v 1.21 2009/04/17 20:07:20 caster Exp $
-inherit java-pkg
+inherit java-pkg-2
DESCRIPTION="Helium (for learning Haskell)"
HOMEPAGE="http://www.cs.uu.nl/helium"
@@ -17,7 +17,7 @@ IUSE="readline"
DEPEND="<dev-lang/ghc-6.4
!>=dev-lang/ghc-6.4
readline? ( sys-libs/readline )"
-RDEPEND="virtual/jdk
+RDEPEND=">=virtual/jre-1.4
dev-libs/gmp
readline? ( sys-libs/readline )"
@@ -33,6 +33,8 @@ src_unpack() {
cd ${S}/parsec
mv ParsecPerm.hs ParsecPerm.hs.orig
sed -e 's/(\$/(\$ /' ParsecPerm.hs.orig > ParsecPerm.hs
+
+ cp "${DISTDIR}/Hint.jar" "${WORKDIR}"
}
src_compile() {
@@ -56,7 +58,7 @@ src_install() {
demodir=${D}/usr/lib/helium/demo \
install || die
# install hint
- java-pkg_dojar ${DISTDIR}/Hint.jar
+ java-pkg_dojar "${WORKDIR}/Hint.jar"
# create wrappers
dobin ${FILESDIR}/helium-wrapper
dosym /usr/bin/helium-wrapper /usr/bin/helium