Added ebuilds for eclipse-sdk 3.5 from gentoo-bugs

This commit is contained in:
2009-11-01 19:56:40 +00:00
parent ab73eab1c9
commit 648575cae5
27 changed files with 2025 additions and 0 deletions

5
dev-java/icu4j/Manifest Normal file
View File

@@ -0,0 +1,5 @@
AUX icu4j-4.0.1.1-manifest 793 RMD160 c7607a2515b0e746cc532a8034c286fe644e8298 SHA1 a0f2ec39f4f2df7a4370935c8afed00a8669ea77 SHA256 e19c4598e26fc89555031317b87431680d618f565976f444da8e974318a8f1b3
DIST icu4j-4_0_1_1-docs.jar 1553089 RMD160 e8304c27dc363ae99d2ddb6a0624e869c7c3a940 SHA1 167fcb43d5cd4059cd9e632720698e1ff676807f SHA256 44319c329b628c5e14e74eeb285ddb876c34e3529b06c69abd9a54799490cd8e
DIST icu4j-4_0_1_1-src.jar 15138020 RMD160 d6cd5163ebbf7bcb2bdfd8f65f83e9ec390c290d SHA1 daa3467983e6ecd735cd67e5920170702375bc7d SHA256 9d5484ccb3ad6849b6d3986ee2cf146984cbbb8adb2349dc79f6a4e006bc417e
EBUILD icu4j-4.0.1.1.ebuild 2253 RMD160 1a6878131be08f6f835319078d51bc92a164aedb SHA1 1c497b6f3aa818ea530eaead2c05992027e48d53 SHA256 17f3c5a3c8f14e02763f3639758a6709d6f02c9bfa18b8dde689292d9dc74ff8
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb

View File

@@ -0,0 +1,21 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-Vendor: %vendorName
Bundle-SymbolicName: com.ibm.icu; singleton:=true
Bundle-Version: determinedByPortage
Bundle-Localization: plugin
Export-Package: com.ibm.icu.lang;version="4.0.1",
com.ibm.icu.math;version="4.0.1",
com.ibm.icu.text;version="4.0.1",
com.ibm.icu.util;version="4.0.1",
com.ibm.icu.impl;x-internal:=true,
com.ibm.icu.impl.data;x-internal:=true,
com.ibm.icu.impl.data.icudt40b;x-internal:=true,
com.ibm.icu.impl.data.icudt40b.brkitr;x-internal:=true,
com.ibm.icu.impl.data.icudt40b.coll;x-internal:=true,
com.ibm.icu.impl.data.icudt40b.rbnf;x-internal:=true,
com.ibm.icu.impl.data.icudt40b.translit;x-internal:=true
Eclipse-LazyStart: true
Bundle-ClassPath: .
Eclipse-ExtensibleAPI: true

View File

@@ -0,0 +1,73 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-4.0.ebuild,v 1.2 2008/11/24 10:21:50 caster Exp $
# We currently download the Javadoc documentation.
# It could optionally be built using the Ant build file.
# testdata.jar and icudata.jar do not contain *.class files but *.res files
# These *.res data files are needed to built the final jar
# They do not need to be installed however as they will already be present in icu4j.jar
JAVA_PKG_IUSE="doc test source"
inherit java-pkg-2 java-ant-2 java-osgi
DESCRIPTION="ICU4J is a set of Java libraries providing Unicode and Globalization support."
MY_PV=${PV//./_}
SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar
doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )"
HOMEPAGE="http://www.icu-project.org/"
LICENSE="icu"
SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
# build.xml does file version detection that fails for 1.7
# http://bugs.gentoo.org/show_bug.cgi?id=213555
DEPEND="test? ( =virtual/jdk-1.6* )
!test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) )
app-arch/unzip"
RESTRICT="ia64? ( test )
x86-fbsd? ( test )"
JAVA_PKG_WANT_SOURCE="1.4"
JAVA_PKG_WANT_TARGET="1.4"
S="${WORKDIR}"
src_unpack() {
jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack"
if use doc; then
mkdir docs; cd docs
jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs"
fi
}
src_compile() {
# Classes extending CharsetICU not implementing Comparable
# Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack?
# Restricting to javac (didn't even care to try jikes) is better
# than forcing 1.4
java-pkg_force-compiler javac
eant jar || die "Compile failed"
}
src_install() {
java-osgi_newjar-fromfile "${PN}.jar" "${FILESDIR}/icu4j-${PV}-manifest" \
"International Components for Unicode for Java (ICU4J)"
java-pkg_dojar "${PN}-charsets.jar"
use doc && dohtml -r readme.html docs/*
use source && java-pkg_dosrc src/*
}
# Tests only work with JDK-1.6, severe out of memory problems appear with 1.5
src_test() {
eant check
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
</pkgmetadata>