diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2007-02-10 00:18:45 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2007-02-10 00:18:45 +0000 |
commit | c3f01700fc1f592fc4856e6790c8a456e4da095b (patch) | |
tree | 83a4a6ce50467904ef0c35e9fffeef4c7528c054 /dev-java/jexcelapi/jexcelapi-2.6.2.ebuild | |
parent | Stable on MIPS; bug #166118 (diff) | |
download | gentoo-2-c3f01700fc1f592fc4856e6790c8a456e4da095b.tar.gz gentoo-2-c3f01700fc1f592fc4856e6790c8a456e4da095b.tar.bz2 gentoo-2-c3f01700fc1f592fc4856e6790c8a456e4da095b.zip |
Version bump.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-java/jexcelapi/jexcelapi-2.6.2.ebuild')
-rw-r--r-- | dev-java/jexcelapi/jexcelapi-2.6.2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/jexcelapi/jexcelapi-2.6.2.ebuild b/dev-java/jexcelapi/jexcelapi-2.6.2.ebuild new file mode 100644 index 000000000000..4fd77e236692 --- /dev/null +++ b/dev-java/jexcelapi/jexcelapi-2.6.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jexcelapi/jexcelapi-2.6.2.ebuild,v 1.1 2007/02/10 00:18:45 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" +IUSE="" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + + cd ${S} + rm -rf jxl.jar 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/* +} |