summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2008-06-21 18:39:00 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2008-06-21 18:39:00 +0000
commit32445de3f972753e58155980d251944c748dfdb9 (patch)
tree8bfce47274e78b0e5b55c5071d5bfc9044a43353 /dev-java/jexcelapi
parentHuh? The removed files reappeard? (diff)
downloadgentoo-2-32445de3f972753e58155980d251944c748dfdb9.tar.gz
gentoo-2-32445de3f972753e58155980d251944c748dfdb9.tar.bz2
gentoo-2-32445de3f972753e58155980d251944c748dfdb9.zip
Version bump.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 x86_64)
Diffstat (limited to 'dev-java/jexcelapi')
-rw-r--r--dev-java/jexcelapi/ChangeLog7
-rw-r--r--dev-java/jexcelapi/jexcelapi-2.6.8.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-java/jexcelapi/ChangeLog b/dev-java/jexcelapi/ChangeLog
index c0908864c5e1..55b164305ea6 100644
--- a/dev-java/jexcelapi/ChangeLog
+++ b/dev-java/jexcelapi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jexcelapi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jexcelapi/ChangeLog,v 1.18 2008/03/13 01:07:13 ken69267 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jexcelapi/ChangeLog,v 1.19 2008/06/21 18:39:00 fordfrog Exp $
+
+*jexcelapi-2.6.8 (21 Jun 2008)
+
+ 21 Jun 2008; Miroslav Šulc <fordfrog@gentoo.org> +jexcelapi-2.6.8.ebuild:
+ Version bump.
13 Mar 2008; Kenneth Prugh <ken69267@gentoo.org> jexcelapi-2.6.6.ebuild:
amd64 stable, bug #212653
diff --git a/dev-java/jexcelapi/jexcelapi-2.6.8.ebuild b/dev-java/jexcelapi/jexcelapi-2.6.8.ebuild
new file mode 100644
index 000000000000..0e90163d332c
--- /dev/null
+++ b/dev-java/jexcelapi/jexcelapi-2.6.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jexcelapi/jexcelapi-2.6.8.ebuild,v 1.1 2008/06/21 18:39:00 fordfrog Exp $
+
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-ant-2
+
+MY_P="${P//-/_}"
+MY_P="${MY_P//./_}"
+
+DESCRIPTION="A Java API to read, write, and modify Excel spreadsheets"
+HOMEPAGE="http://jexcelapi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jexcelapi/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="2.5"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ find -name "*.jar" | xargs rm -v
+ find -name "*.class" -delete
+ rm -fr docs
+
+ # sun-jdk-1.5/jikes fails
+ java-pkg_filter-compiler jikes
+}
+
+src_compile() {
+ eant -f build/build.xml jxl $(use_doc docs)
+}
+
+src_install() {
+ java-pkg_newjar jxl.jar ${PN}.jar
+
+ java-pkg_dohtml index.html tutorial.html
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc "${S}"/src/*
+}