diff options
author | Ivan Baidakou <the.dmol@gmail.com> | 2012-07-22 17:15:52 +0300 |
---|---|---|
committer | Ivan Baidakou <the.dmol@gmail.com> | 2012-07-22 17:15:52 +0300 |
commit | 5bbd50b3fca22235d18795dc953a13031f42efce (patch) | |
tree | f571a6db3b17e7f083bec46bcd92289808f6427b /dev-java | |
parent | ebuild for bcpg wrt #427636 (diff) | |
download | dmol-5bbd50b3fca22235d18795dc953a13031f42efce.tar.gz dmol-5bbd50b3fca22235d18795dc953a13031f42efce.tar.bz2 dmol-5bbd50b3fca22235d18795dc953a13031f42efce.zip |
ant-avy-2.2 ebuild wrt#309343
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ant-ivy/Manifest | 3 | ||||
-rw-r--r-- | dev-java/ant-ivy/ant-ivy-2.2.0.ebuild | 75 | ||||
-rw-r--r-- | dev-java/ant-ivy/metadata.xml | 7 |
3 files changed, 85 insertions, 0 deletions
diff --git a/dev-java/ant-ivy/Manifest b/dev-java/ant-ivy/Manifest new file mode 100644 index 0000000..a89bd2c --- /dev/null +++ b/dev-java/ant-ivy/Manifest @@ -0,0 +1,3 @@ +DIST apache-ivy-2.2.0-src.tar.gz 2513320 RMD160 5ac59ceea455fdb45ab4514eae7ba378b5068a23 SHA1 5bed97ead53483a3db2d5a1b80b3f82516e148b7 SHA256 338312a9df91825bfddb5705a41d122d0495c984f8689bcef0b2f3cbce6b0294 +EBUILD ant-ivy-2.2.0.ebuild 1778 RMD160 852570d27c9974071b274bce1a56c265edac6325 SHA1 3bfb783a0ceb2cd12425cc300b8a2c2340a8c661 SHA256 5d2a6d97426f93d6b7d9c00775cfaf4f4a026656ce0c12f01443579ba611ab04 +MISC metadata.xml 205 RMD160 4923bb2153d0eb925ffc86f91fdd806110e016c0 SHA1 da9437a648cf7dd5fcfca1c45c60c4053fed15c4 SHA256 2ff0740a5424b0e10c7888541a248d1bd363a60911b0921b4cfe5c36590498ce diff --git a/dev-java/ant-ivy/ant-ivy-2.2.0.ebuild b/dev-java/ant-ivy/ant-ivy-2.2.0.ebuild new file mode 100644 index 0000000..0766f86 --- /dev/null +++ b/dev-java/ant-ivy/ant-ivy-2.2.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-ivy/ant-ivy-2.0.0.ebuild,v 1.6 2010/01/23 14:26:58 aballier Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="doc examples source test" +# rewrites examples otherwise... bad +JAVA_PKG_BSFIX_ALL="no" + +inherit java-pkg-2 java-ant-2 eutils + +MY_PN="apache-ivy" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Ivy is a free java based dependency manager" +HOMEPAGE="http://ant.apache.org/ivy" +SRC_URI="mirror://apache/ant/ivy/${PV}/${MY_P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.2" +KEYWORDS="~amd64" +IUSE="" + +COMMON_DEP=" + dev-java/ant-core:0 + dev-java/jakarta-oro:2.0 + dev-java/jsch:0 + dev-java/commons-httpclient:3 + dev-java/commons-vfs:0 + dev-java/bcpg:0 + dev-java/bcprov:0 + dev-java/commons-logging:0" + +DEPEND=" + >=virtual/jdk-1.4 + test? ( + dev-java/ant-testutil:0 + dev-java/commons-lang:2.1 + dev-java/ant-junit:0 ) + ${COMMON_DEP}" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${MY_P}" + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_GENTOO_CLASSPATH="ant-core,commons-vfs,commons-logging,jakarta-oro-2.0,jsch + commons-httpclient-3,bcpg,bcprov" +EANT_BUILD_TARGET="/offline jar" +EANT_EXTRA_ARGS="-Dbuild.version=${PV} -Dbundle.version=${PV}" + +java_prepare() { + find "${S}" -name '*.jar' -delete + mkdir "${S}"/lib || die +} + +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},ant-testutil,commons-lang-2.1" +EANT_TEST_TARGET="/offline test" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar "build/artifact/jars/ivy.jar" + + use doc && java-pkg_dojavadoc "build/doc/reports/api" + use doc && dohtml -r "doc" + use examples && java-pkg_doexamples "src/example" + use source && java-pkg_dosrc src/java/* + + java-pkg_register-ant-task +} diff --git a/dev-java/ant-ivy/metadata.xml b/dev-java/ant-ivy/metadata.xml new file mode 100644 index 0000000..80859ae --- /dev/null +++ b/dev-java/ant-ivy/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>the.dmol@gmail.com</email> + </maintainer> +</pkgmetadata> |