# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/dev-util/eclipse-platform-bin/eclipse-platform-bin-2.0.ebuild,v 1.2 2002/07/23 11:22:17 seemant Exp $ S=${WORKDIR}/eclipse DESCRIPTION="Eclipse Tools Platform" HOMEPAGE="http://www.eclipse.org" SRC_URI="http://download.eclipse.org/downloads/drops/M-M20021016-200210161432/eclipse-SDK-M20021016-linux-gtk.zip" SLOT="0" LICENSE="CPL-1.0" KEYWORDS="x86" DEPEND=">=virtual/jdk-1.2 >=x11-libs/gtk+-2.0*" RDEPEND="${DEPEND}" src_install () { dodir /opt/eclipse cp -dpR features install.ini libXm.so.2 eclipse \ icon.xpm libXm.so libXm.so.2.1 plugins startup.jar \ ${D}/opt/eclipse/ dohtml cpl-v10.html notice.html readme/* dodir /etc/env.d echo -e "LDPATH=/opt/eclipse\nPATH=/opt/eclipse\nROOTPATH=/opt/eclipse" > ${D}/etc/env.d/20eclipse }