# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/R-3.3-200706251500/eclipse-SDK-3.3-linux-gtk.tar.gz" HOMEPAGE="http://www.eclipse.org/" DESCRIPTION="Eclipse SDK 3.3" KEYWORDS="~x86" IUSE="" LICENSE="GPL2" SLOT="0" DEPEND="app-arch/tar" RDEPEND=">=virtual/jre-1.5" src_install() { mkdir -p ${D}/opt/${P}/ cp -a ${WORKDIR}/eclipse/* ${D}/opt/${P}/ mkdir -p ${D}/usr/bin/ echo -e '#!/bin/bash \ncd /opt/eclipse-sdk-bin-3.3 \n ./eclipse -vm $(java-config --java)' > ${D}/usr/bin/eclipse-3.3 chmod +xr-w ${D}/usr/bin/eclipse-3.3 }