# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils eclipse-bin DESCRIPTION="The Eclipse platform (binary)" HOMEPAGE="http://www.eclipse.org/platform/" MY_A="eclipse-platform-${PV}-linux-gtk$(get_eclipse_arch platform).tar.gz" MY_A_SDK="eclipse-platform-SDK-${PV}-linux-gtk$(get_eclipse_arch platform).tar.gz" DATESTAMP="200706251500" SRC_URI=" !source? ( http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-${PV}-${DATESTAMP}/${MY_A} http://download.eclipse.org/eclipse/downloads/drops/R-${PV}-${DATESTAMP}/${MY_A} ) source? ( http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/R-${PV}-${DATESTAMP}/${MY_A_SDK} http://download.eclipse.org/eclipse/downloads/drops/R-${PV}-${DATESTAMP}/${MY_A_SDK} ) " #LDATESTAMP="200609210945" #LPV="3.2.1" #LANG_SRC_URI=" # \!source\? \( http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/L-${LPV}_Language_Packs-${LDATESTAMP}/NLpack\${PACK}-eclipse-platform-${LPV}-gtk.zip \) # source\? \( http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops/L-${LPV}_Language_Packs-${LDATESTAMP}/NLpack\${PACK}-eclipse-platform-SDK-${LPV}-gtk.zip \) #" SLOT="3.3" KEYWORDS="~x86 amd64 ~ppc" IUSE="seamonkey source" DEPEND="!dev-util/eclipse-sdk" RDEPEND="${DEPEND} >=virtual/jre-1.4.2 >=x11-libs/gtk+-2.2.1 seamonkey? ( www-client/seamonkey )" #eclipse_l10n src_compile() { if use seamonkey; then mozline='export MOZILLA_FIVE_HOME="/usr/lib/seamonkey"' fi cat << EOF > eclipse-${SLOT} #!/bin/sh ${mozline} cd "/opt/eclipse-${SLOT}" exec ./eclipse -vm $(java-config --java) "\$@" EOF } src_install() { eclipse-bin_src_install "plugins features configuration libcairo-swt.so \ .eclipseproduct eclipse eclipse.ini" "/opt/eclipse-${SLOT}"|| die dohtml about.html readme/readme_eclipse.html dobin eclipse-${SLOT} || die newicon icon.xpm eclipse-${SLOT}.xpm make_desktop_entry eclipse-${SLOT} "Eclipse ${SLOT}" eclipse-${SLOT}.xpm || die }