# Copyright 1999-2004 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.1.ebuild,v 1.6 2004/03/13 01:49:46 mr_bones_ Exp $ DESCRIPTION="Eclipse Tools Platform, basic platform binary serlin test" HOMEPAGE="http://www.eclipse.org/" SRC_URI="http://download2.eclipse.org/downloads/drops/R-2.1.3-200403101828/eclipse-SDK-2.1.3-linux-gtk.zip" SLOT="2" LICENSE="CPL-1.0" KEYWORDS="~x86 ~sparc" DEPEND=">=virtual/jdk-1.2 =x11-libs/gtk+-2*" S=${WORKDIR}/eclipse src_install() { dodir /opt/eclipse cp -dpR features install.ini eclipse icon.xpm plugins startup.jar \ ${D}/opt/eclipse/ dohtml cpl-v10.html notice.html readme/* insinto /usr/share/gnome/apps/Development doins ${FILESDIR}/eclipse.desktop dodir /etc/env.d echo "LDPATH=/opt/eclipse" > ${D}/etc/env.d/20eclipse }