summaryrefslogtreecommitdiff
blob: f8e032f7e3341cb4dcda124f080de8d6accc79ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/sun-one-studio-me/sun-one-studio-me-4.1.ebuild,v 1.5 2004/06/25 02:48:13 agriffis Exp $

DESCRIPTION="Sun ONE Studio Mobile Edition"
HOMEPAGE="http://wwws.sun.com/software/sundev/jde/studio_me/index.html"
SRC_URI="ffj_me_linux.bin"
LICENSE="sun-bcla-sos"
SLOT="0"
KEYWORDS="~x86 ~ppc"
RESTRICT="fetch"
IUSE=""
DEPEND=">=virtual/jdk-1.4.1"

pkg_nofetch() {
	einfo "Please download ${SRC_URI} from ${HOMEPAGE} and move it to ${DISTDIR}"
}


src_unpack() {
	unzip -q ${DISTDIR}/${SRC_URI} -d ${S}
}

src_install() {
	addwrite "/var/lib/rpm/__db.Name."
	addwrite "/var/lib/rpm/Name"
	${JAVA_HOME}/bin/java -DjdkHome=`java-config --jdk-home` -DforteHome="${D}/opt/s1studiome/" run -silent
}