summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-12-29 23:56:58 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-12-29 23:56:58 +0000
commit1e082c61f03f46861346952b10c8f89e09162d8f (patch)
tree243e70ece46eb797a259e8c5f87caf4c98d0927f /dev-java
parentarm/ia64 stable #158907 (diff)
downloadgentoo-2-1e082c61f03f46861346952b10c8f89e09162d8f.tar.gz
gentoo-2-1e082c61f03f46861346952b10c8f89e09162d8f.tar.bz2
gentoo-2-1e082c61f03f46861346952b10c8f89e09162d8f.zip
Migrated to generation 2 and fixed dependencies.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/poi/ChangeLog7
-rw-r--r--dev-java/poi/files/digest-poi-2.5-r22
-rw-r--r--dev-java/poi/files/digest-poi-2.5.12
-rw-r--r--dev-java/poi/files/digest-poi-2.5.1-r13
-rw-r--r--dev-java/poi/poi-2.5.1-r1.ebuild54
5 files changed, 67 insertions, 1 deletions
diff --git a/dev-java/poi/ChangeLog b/dev-java/poi/ChangeLog
index 49bd0577e46d..836e08215658 100644
--- a/dev-java/poi/ChangeLog
+++ b/dev-java/poi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/poi
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.16 2006/11/30 15:52:35 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.17 2006/12/29 23:56:58 betelgeuse Exp $
+
+*poi-2.5.1-r1 (29 Dec 2006)
+
+ 29 Dec 2006; Petteri Räty <betelgeuse@gentoo.org> +poi-2.5.1-r1.ebuild:
+ Migrated to generation 2 and fixed dependencies.
30 Nov 2006; Vlastimil Babka <caster@gentoo.org> poi-2.5-r2.ebuild,
poi-2.5.1.ebuild:
diff --git a/dev-java/poi/files/digest-poi-2.5-r2 b/dev-java/poi/files/digest-poi-2.5-r2
index 1a3f8246b36e..7e81e4483003 100644
--- a/dev-java/poi/files/digest-poi-2.5-r2
+++ b/dev-java/poi/files/digest-poi-2.5-r2
@@ -1 +1,3 @@
MD5 b45cd066ff4a8ca4a9555839722e7f80 poi-src-2.5-final-20040302.tar.gz 6878720
+RMD160 06d52dd6ddca704732ff9a2d58816b40156c10b8 poi-src-2.5-final-20040302.tar.gz 6878720
+SHA256 862e8a1e0b843d794efc69d0faedc3330704bf06df73097ae4be2fbb2ade1a37 poi-src-2.5-final-20040302.tar.gz 6878720
diff --git a/dev-java/poi/files/digest-poi-2.5.1 b/dev-java/poi/files/digest-poi-2.5.1
index ccb928e0bfc7..cf60ff5e150b 100644
--- a/dev-java/poi/files/digest-poi-2.5.1
+++ b/dev-java/poi/files/digest-poi-2.5.1
@@ -1 +1,3 @@
MD5 d80052119b2d6746f103d49f915b0ad8 poi-src-2.5.1-final-20040804.tar.gz 6870414
+RMD160 47707ec7db9cb5b2650d6eddaf0f351fee3237f5 poi-src-2.5.1-final-20040804.tar.gz 6870414
+SHA256 783c6c36b9762aafd3386adcfbe71ad46aaa14d9fe20545c4a60eb591cfe0cc1 poi-src-2.5.1-final-20040804.tar.gz 6870414
diff --git a/dev-java/poi/files/digest-poi-2.5.1-r1 b/dev-java/poi/files/digest-poi-2.5.1-r1
new file mode 100644
index 000000000000..cf60ff5e150b
--- /dev/null
+++ b/dev-java/poi/files/digest-poi-2.5.1-r1
@@ -0,0 +1,3 @@
+MD5 d80052119b2d6746f103d49f915b0ad8 poi-src-2.5.1-final-20040804.tar.gz 6870414
+RMD160 47707ec7db9cb5b2650d6eddaf0f351fee3237f5 poi-src-2.5.1-final-20040804.tar.gz 6870414
+SHA256 783c6c36b9762aafd3386adcfbe71ad46aaa14d9fe20545c4a60eb591cfe0cc1 poi-src-2.5.1-final-20040804.tar.gz 6870414
diff --git a/dev-java/poi/poi-2.5.1-r1.ebuild b/dev-java/poi/poi-2.5.1-r1.ebuild
new file mode 100644
index 000000000000..1ee7d78078b9
--- /dev/null
+++ b/dev-java/poi/poi-2.5.1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/poi-2.5.1-r1.ebuild,v 1.1 2006/12/29 23:56:58 betelgeuse Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Java API To Access Microsoft Format Files"
+HOMEPAGE="http://jakarta.apache.org/poi/"
+SRC_URI="mirror://apache/jakarta/poi/release/src/${PN}-src-${PV}-final-20040804.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc source"
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/xalan
+ >=dev-java/commons-logging-1.0
+ >=dev-java/log4j-1.2.8
+ =dev-java/commons-beanutils-1.6*
+ =dev-java/commons-lang-2.0*"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ >=dev-java/ant-core-1.4"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm -f src/contrib/lib/*.jar lib/*.jar
+
+ epatch ${FILESDIR}/${PN}-2.5-jikes-fix.patch
+ sed -e 's:<target name="init" depends="check-jars,fetch-jars">:<target name="init" depends="check-jars">:' -i build.xml
+ java-ant_rewrite-classpath build.xml
+}
+
+src_compile() {
+ # prepackaged docs
+ local deps="xalan,commons-logging,junit,commons-beanutils-1.6"
+ deps="${deps},commons-lang,log4j"
+ eant jar \
+ -Dgentoo.classpath=$(java-pkg_getjars ${deps} )
+}
+
+src_install() {
+ use doc && java-pkg_dohtml -r docs/*
+ use source && java-pkg_dosrc src/contrib/src/org src/java/org/ src/scratchpad/src/org
+
+ cd build/dist/
+ java-pkg_newjar poi-scratchpad-${PV}* ${PN}-scratchpad.jar
+ java-pkg_newjar poi-contrib-${PV}* ${PN}-contrib.jar
+ java-pkg_newjar poi-${PV}* ${PN}.jar
+}