blob: 7f52a126875b8ed5c3e7f796d0c6d3f7bdc73208 (
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-2004 Gentoo Foundation
# 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.5 2004/06/25 02:48:03 agriffis 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
}
|