diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2003-06-30 18:30:12 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2003-06-30 18:30:12 +0000 |
commit | 62fe0c1c64ecc6d31208a494d7b5684096b13f35 (patch) | |
tree | 1893ed9aec051967c27dc9bab6c7ef61dd5af061 /dev-util | |
parent | First attempt at a from-source build of eclipse. Incomplete. (diff) | |
download | historical-62fe0c1c64ecc6d31208a494d7b5684096b13f35.tar.gz historical-62fe0c1c64ecc6d31208a494d7b5684096b13f35.tar.bz2 historical-62fe0c1c64ecc6d31208a494d7b5684096b13f35.zip |
First attempt at a from-source build of eclipse. Incomplete.
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/eclipse-sdk/Manifest | 4 | ||||
-rw-r--r-- | dev-util/eclipse-sdk/eclipse-sdk-2.1.ebuild | 160 | ||||
-rw-r--r-- | dev-util/eclipse-sdk/files/digest-eclipse-sdk-2.1 | 1 |
3 files changed, 163 insertions, 2 deletions
diff --git a/dev-util/eclipse-sdk/Manifest b/dev-util/eclipse-sdk/Manifest index 0ef0ee887285..0a548b526c83 100644 --- a/dev-util/eclipse-sdk/Manifest +++ b/dev-util/eclipse-sdk/Manifest @@ -1,3 +1,3 @@ -MD5 125ee013081b112d56a1d15507d72ef2 ChangeLog 3674 -MD5 c736f47ae5e9b4dad6d02b1ce66e4c2b eclipse-sdk-2.1.ebuild 776 +MD5 d995775baeaddf308564035ff558408c ChangeLog 3767 +MD5 166efc2838e2c2c2b1e79c2570c0d01a eclipse-sdk-2.1.ebuild 3780 MD5 5bea1174eca3d2e368ad728e5086b24a files/digest-eclipse-sdk-2.1 86 diff --git a/dev-util/eclipse-sdk/eclipse-sdk-2.1.ebuild b/dev-util/eclipse-sdk/eclipse-sdk-2.1.ebuild new file mode 100644 index 000000000000..0bc2a173be8a --- /dev/null +++ b/dev-util/eclipse-sdk/eclipse-sdk-2.1.ebuild @@ -0,0 +1,160 @@ +# Copyright 2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-sdk/eclipse-sdk-2.1.ebuild,v 1.1 2003/06/30 18:30:03 karltk Exp $ + +DESCRIPTION="Eclipse Tools Platform" +HOMEPAGE="http://www.eclipse.org/" +SRC_URI="http://download.eclipse.org/downloads/drops/R-2.1-200303272130/eclipse-sourceBuild-srcIncluded-2.1.zip" +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="" +RDEPEND=">=virtual/jdk-1.3 + >=x11-libs/gtk+-2.2.1-r1 + =gnome-base/gnome-vfs-2*" + +DEPEND="${RDEPEND} + >=virtual/jdk-1.3 + >=dev-java/ant-1.4 + ppc? ( app-shells/tcsh )" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} +} + +src_compile() { + ./build -os linux -ws gtk -target compile + ./build -os linux -ws gtk -target buildDoc + ./build -os linux -ws gtk -target install +} + +src_install() { + dodir /opt/eclipse + + # 2003-06-30, karltk: It appears there's no easy way to the + # final install part. If it's just a case if stupiditis on my + # part, feel free to fix it. + + dodir /opt/eclipse/features + dodir /opt/eclipse/plugins + + for i in ${desired_features} ; do + cp -a ${S}/features/${i} ${D}/opt/eclipse/features/ + done + + exeinto /opt/eclipse + doexe eclipse + + for i in ${desired_files} ; do + cp -a ${S}/${i} ${D}/opt/eclipse + done + rm -rf ${D}/opt/eclipse/features/*/build.{xml,properties} + + for i in ${desired_plugins} ; do + dodir /opt/eclipse/plugins/${i} + src=${S}/plugins/${i} + dst=${D}/opt/eclipse/plugins/${i} + + for x in about.html {plugin,fragment}.xml {plugin,fragment}.properties ; do + if [ -e ${src}/${x} ] ; then + cp -a ${src}/${x} ${dst}/ + fi + done + + z="`find ${src} -maxdepth 1 -iname \"*.jar\"`" + if [ -n "${z}" ] ; then + cp ${z} ${dst}/ + fi + + z=`cd ${src} ; find -iname "*.so"` + echo "|${z}|" + for x in ${z} ; do + dn=`dirname ${x}` + mkdir -p ${dst}/${dn} + cp ${src}/${x} ${dst}/${dn}/ + done + done + + + dodoc plugins/org.eclipse.platform/{cpl-v10.html,notice.html} +} + +# this is the really ugly part +desired_files=" +splash.bmp +startup.jar +icon.xpm" + +desired_features=" +org.eclipse.jdt-feature +org.eclipse.pde-feature +org.eclipse.platform-feature +org.eclipse.platform.linux.gtk-feature +org.eclipse.sdk.linux.gtk-feature +org.eclipse.team.extras-feature" + +desired_plugins=" +org.apache.ant/ +org.apache.lucene/ +org.apache.xerces/ +org.eclipse.ant.core/ +org.eclipse.ant.optional.junit/ +org.eclipse.compare/ +org.eclipse.core.boot/ +org.eclipse.core.resources/ +org.eclipse.core.resources.linux/ +org.eclipse.core.runtime/ +org.eclipse.debug.core/ +org.eclipse.debug.ui/ +org.eclipse.help/ +org.eclipse.help.appserver/ +org.eclipse.help.ui/ +org.eclipse.help.webapp/ +org.eclipse.jdt/ +org.eclipse.jdt.core/ +org.eclipse.jdt.debug/ +org.eclipse.jdt.debug.ui/ +org.eclipse.jdt.doc.isv/ +org.eclipse.jdt.doc.user/ +org.eclipse.jdt.junit/ +org.eclipse.jdt.launching/ +org.eclipse.jdt.ui/ +org.eclipse.jface/ +org.eclipse.jface.text/ +org.eclipse.pde/ +org.eclipse.pde.build/ +org.eclipse.pde.core/ +org.eclipse.pde.doc.user/ +org.eclipse.pde.runtime/ +org.eclipse.pde.ui/ +org.eclipse.platform/ +org.eclipse.platform.doc.isv/ +org.eclipse.platform.doc.user/ +org.eclipse.platform.linux.gtk/ +org.eclipse.sdk.linux.gtk/ +org.eclipse.search/ +org.eclipse.swt/ +org.eclipse.swt.gtk/ +org.eclipse.team.core/ +org.eclipse.team.cvs.core/ +org.eclipse.team.cvs.ssh/ +org.eclipse.team.cvs.ui/ +org.eclipse.team.extras/ +org.eclipse.team.ftp/ +org.eclipse.team.ui/ +org.eclipse.team.webdav/ +org.eclipse.text/ +org.eclipse.tomcat/ +org.eclipse.ui/ +org.eclipse.ui.editors/ +org.eclipse.ui.externaltools/ +org.eclipse.ui.views/ +org.eclipse.ui.workbench/ +org.eclipse.ui.workbench.texteditor/ +org.eclipse.update.core/ +org.eclipse.update.core.linux/ +org.eclipse.update.ui/ +org.eclipse.update.ui.forms/ +org.eclipse.webdav/ +org.junit/" diff --git a/dev-util/eclipse-sdk/files/digest-eclipse-sdk-2.1 b/dev-util/eclipse-sdk/files/digest-eclipse-sdk-2.1 new file mode 100644 index 000000000000..c31d8d904003 --- /dev/null +++ b/dev-util/eclipse-sdk/files/digest-eclipse-sdk-2.1 @@ -0,0 +1 @@ +MD5 cc193abe0cdc0f59a2e97b8a41290ffd eclipse-sourceBuild-srcIncluded-2.1.zip 44063648 |