diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2013-06-16 16:55:30 -0700 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2013-06-16 16:55:30 -0700 |
commit | e1fe1346a96dd26d51347b73b4108029cd1c94c9 (patch) | |
tree | 1471a9680b663c8330107243df2587219a13ecf9 /dev-java/jhealpix/jhealpix-3.11.ebuild | |
parent | sci-astronomy/healpix_idl: Initial import (diff) | |
download | sci-e1fe1346a96dd26d51347b73b4108029cd1c94c9.tar.gz sci-e1fe1346a96dd26d51347b73b4108029cd1c94c9.tar.bz2 sci-e1fe1346a96dd26d51347b73b4108029cd1c94c9.zip |
dev-java/jhealpix: Initial import
Package-Manager: portage-2.2.01.22013-prefix
RepoMan-Options: --force
Diffstat (limited to 'dev-java/jhealpix/jhealpix-3.11.ebuild')
-rw-r--r-- | dev-java/jhealpix/jhealpix-3.11.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-java/jhealpix/jhealpix-3.11.ebuild b/dev-java/jhealpix/jhealpix-3.11.ebuild new file mode 100644 index 000000000..e35ff7be6 --- /dev/null +++ b/dev-java/jhealpix/jhealpix-3.11.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +JAVA_PKG_IUSE="doc" +inherit java-pkg-2 java-ant-2 + +MYP="Healpix_${PV}" +MYPP="2013Apr24" + +DESCRIPTION="Hierarchical Equal Area isoLatitude Pixelization of a sphere - Java" +HOMEPAGE="http://healpix.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MYP}/${MYP}_${MYPP}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc test" + +DEPEND=">=virtual/jdk-1.5 + test? ( dev-java/junit:4 )" +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}/${MYP}/src/java" + +EANT_BUILD_TARGET="distonly distsrc newcompile" +EANT_DOC_TARGET="docs newdocs" + +src_test() { + EANT_TEST_TARGET="test newtest" + EANT_TEST_GENTOO_CLASSPATH="junit-4" + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar dist/*.jar + dodoc README CHANGES SuggestedIdeas.txt + dodoc ../../READ_Copyrights_Licenses.txt + use doc && java-pkg_dojavadoc healpixdoc +} |