summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2005-10-01 23:44:22 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2005-10-01 23:44:22 +0000
commit5acc974ba18b235dd4020b8c16579ee4f5306f30 (patch)
tree53a1ff2ec8d5b9988d72bbc4d23c55525f40b482 /dev-java/eclipse-osgi
parentAdded ~sparc keyword. (diff)
downloadhistorical-5acc974ba18b235dd4020b8c16579ee4f5306f30.tar.gz
historical-5acc974ba18b235dd4020b8c16579ee4f5306f30.tar.bz2
historical-5acc974ba18b235dd4020b8c16579ee4f5306f30.zip
Adding eclipse-osgi for jface
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'dev-java/eclipse-osgi')
-rw-r--r--dev-java/eclipse-osgi/ChangeLog10
-rw-r--r--dev-java/eclipse-osgi/Manifest5
-rw-r--r--dev-java/eclipse-osgi/eclipse-osgi-3.2_pre2.ebuild55
-rw-r--r--dev-java/eclipse-osgi/files/build.xml57
-rw-r--r--dev-java/eclipse-osgi/files/digest-eclipse-osgi-3.2_pre21
-rw-r--r--dev-java/eclipse-osgi/metadata.xml12
6 files changed, 140 insertions, 0 deletions
diff --git a/dev-java/eclipse-osgi/ChangeLog b/dev-java/eclipse-osgi/ChangeLog
new file mode 100644
index 000000000000..e2ddceaf2b6d
--- /dev/null
+++ b/dev-java/eclipse-osgi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/eclipse-osgi
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-osgi/ChangeLog,v 1.1 2005/10/01 23:44:22 compnerd Exp $
+
+*eclipse-osgi-3.2_pre2 (02 Oct 2005)
+
+ 02 Oct 2005; Saleem Abdulrasool <compnerd@gentoo.org> +files/build.xml,
+ +metadata.xml, +eclipse-osgi-3.2_pre2.ebuild:
+ Initial import. Dependency for jface
+
diff --git a/dev-java/eclipse-osgi/Manifest b/dev-java/eclipse-osgi/Manifest
new file mode 100644
index 000000000000..588748593b92
--- /dev/null
+++ b/dev-java/eclipse-osgi/Manifest
@@ -0,0 +1,5 @@
+MD5 2204d87907212058ce6b9d2f3ef2cb71 eclipse-osgi-3.2_pre2.ebuild 1544
+MD5 06a746fade02544c97b4d59ffe8cac87 ChangeLog 418
+MD5 0a7e021f886fb1b2e57c3ceb9eb8f9e7 metadata.xml 308
+MD5 24f7915df91d0e1db3c711163d151001 files/digest-eclipse-osgi-3.2_pre2 85
+MD5 7a8f55097cfe5376ba23bbc876005430 files/build.xml 1640
diff --git a/dev-java/eclipse-osgi/eclipse-osgi-3.2_pre2.ebuild b/dev-java/eclipse-osgi/eclipse-osgi-3.2_pre2.ebuild
new file mode 100644
index 000000000000..df5deb61bbb9
--- /dev/null
+++ b/dev-java/eclipse-osgi/eclipse-osgi-3.2_pre2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-osgi/eclipse-osgi-3.2_pre2.ebuild,v 1.1 2005/10/01 23:44:22 compnerd Exp $
+
+inherit java-pkg
+
+MY_DMF="S-3.2M2-200509231000"
+MY_VERSION="3.2M2"
+
+DESCRIPTION="Core Runtime Utilities for Eclipse"
+HOMEPAGE="http://www.eclipse.org/"
+SRC_URI="http://download.eclipse.org/downloads/drops/${MY_DMF}/eclipse-RCP-SDK-${MY_VERSION}-linux-gtk.tar.gz"
+
+LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
+SLOT="3"
+KEYWORDS="~x86"
+IUSE="doc"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ app-arch/unzip"
+
+BASE="org.eclipse.rcp.source_3.1.0"
+OSGI_PLUGIN="org.eclipse.osgi_3.2.0"
+
+src_unpack() {
+ unpack ${A}
+ mkdir ${S}
+
+ # The eclipse sources are in a messy layout
+ local srcdir="${WORKDIR}/eclipse/plugins/${BASE}/src"
+
+ # Pull out the sources
+ mkdir -p ${S}/${OSGI_PLUGIN}/src
+ unzip ${srcdir}/${OSGI_PLUGIN}/src.zip -d ${S}/${OSGI_PLUGIN}/src/ &> /dev/null || die "Unable to extract sources"
+ cp ${FILESDIR}/build.xml ${S}/${OSGI_PLUGIN}
+}
+
+src_compile() {
+ local targets="jar"
+ use doc && targets="${targets} javaodc"
+
+ cd ${S}/${OSGI_PLUGIN}
+ ant -Dproject.name=org.eclipse.osgi \
+ -Dpackage.name="org.eclipse.osgi.*" ${targets} || die "Build failed"
+}
+
+src_install() {
+ java-pkg_dojar ${S}/${OSGI_PLUGIN}/dist/org.eclipse.osgi.jar || die "Failed to install jars"
+
+ if use doc ; then
+ java-pkg_dohtml -r ${S}/${OSGI_PLUGIN}/dist/docs/* || die "Failed to install docs"
+ fi
+}
diff --git a/dev-java/eclipse-osgi/files/build.xml b/dev-java/eclipse-osgi/files/build.xml
new file mode 100644
index 000000000000..bb0fc03557b4
--- /dev/null
+++ b/dev-java/eclipse-osgi/files/build.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+ <property name="docs" value="${dist}/doc/api"/>
+
+ <property name="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.jar"/>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}"
+ destdir="${build}"
+ classpath="${classpath}"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}"/>
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${src}"
+ destdir="${docs}"
+ packagenames="${pkg}"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/eclipse-osgi/files/digest-eclipse-osgi-3.2_pre2 b/dev-java/eclipse-osgi/files/digest-eclipse-osgi-3.2_pre2
new file mode 100644
index 000000000000..22661f22f49b
--- /dev/null
+++ b/dev-java/eclipse-osgi/files/digest-eclipse-osgi-3.2_pre2
@@ -0,0 +1 @@
+MD5 0bc12dee86534ebaabc36bd6e4abe770 eclipse-RCP-SDK-3.2M2-linux-gtk.tar.gz 22212028
diff --git a/dev-java/eclipse-osgi/metadata.xml b/dev-java/eclipse-osgi/metadata.xml
new file mode 100644
index 000000000000..c74025e07608
--- /dev/null
+++ b/dev-java/eclipse-osgi/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>compnerd@gentoo.org</email>
+ <name>Saleem Abdulrasool</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+