summaryrefslogtreecommitdiff
blob: 18fa7ad217557b633b56a82f1c6bab81d6a8e09d (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
29
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/sun-one-studio/sun-one-studio-4.1.ebuild,v 1.2 2003/06/02 02:41:32 tberman Exp $

DESCRIPTION="Sun ONE Studio Community Edition"
HOMEPAGE="http://wwws.sun.com/software/sundev/jde/features/ce-features.html"
SRC_URI=""
LICENSE="sun-bcla-sos"
SLOT="0"
KEYWORDS="~x86 ~sparc ~ppc"
IUSE=""
DEPEND=">=virtual/jdk-1.3"
At="ffj_ce.jar"
AtZip="ffj_ce.zip"

src_unpack() {
	if [ ! -f ${DISTDIR}/${At} ] ; then
		die "Please download ${At} from ${HOMEPAGE} and move it to ${DISTDIR} (Select the unsupported jar archive) Note: This will require registration to download."
	fi
	unzip -q ${DISTDIR}/${At} -d ${S} || die
}

src_install() {
	addwrite "/var/lib/rpm/__db.Name."
	addwrite "/var/lib/rpm/Name"
	java -DjdkHome=`java-config --jdk-home` -DforteHome="${D}/opt/s1studioce/" run -silent
        insinto /usr/share/gnome/apps/Development
        doins ${FILESDIR}/sunone.desktop
}