diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-10-14 07:47:11 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-10-14 07:51:45 +0000 |
commit | 10bf020c65f1f4795f0e17f2092031bb78c88245 (patch) | |
tree | 5470f26d55853c6d32d756a7432e740c25fbee1f /dev-java/super-csv/super-csv-2.3.1.ebuild | |
parent | dev-java/xz-java: Clean up old. (diff) | |
download | gentoo-10bf020c65f1f4795f0e17f2092031bb78c88245.tar.gz gentoo-10bf020c65f1f4795f0e17f2092031bb78c88245.tar.bz2 gentoo-10bf020c65f1f4795f0e17f2092031bb78c88245.zip |
dev-java/super-csv: Initial import. Fixes bug 350653.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/super-csv/super-csv-2.3.1.ebuild')
-rw-r--r-- | dev-java/super-csv/super-csv-2.3.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/super-csv/super-csv-2.3.1.ebuild b/dev-java/super-csv/super-csv-2.3.1.ebuild new file mode 100644 index 000000000000..ad97e54c126f --- /dev/null +++ b/dev-java/super-csv/super-csv-2.3.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +JAVA_PKG_IUSE="source doc test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A fast, programmer-friendly, free CSV library for Java" +HOMEPAGE="http://super-csv.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.zip" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +CDEPEND="" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/ant-junit:0 + ) + ${CDEPEND}" + +IUSE="" + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_BUILD_TARGET="package" +EANT_BUILD_XML="${PN}/build.xml" + +java_prepare() { + cp -v "${FILESDIR}/${P}-build.xml" "${S}/${PN}/build.xml" || die +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar "${PN}/target/${P}.jar" "${PN}.jar" + dodoc README.md + use doc && java-pkg_dojavadoc "${PN}/target/site/apidocs" + use source && java-pkg_dosrc "${PN}/src/main/java" +} |