diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2008-11-16 15:45:36 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2008-11-16 15:45:36 +0000 |
commit | ce1f68d9bda372aec797b7da550d8466b29da3c2 (patch) | |
tree | d9107d87ad85727a27281dc2f8730ede608b8e31 /dev-java/jvyamlb/jvyamlb-0.2.2.ebuild | |
parent | Added missing dependency, bug #239675 thank Evil Compile Person for report. S... (diff) | |
download | historical-ce1f68d9bda372aec797b7da550d8466b29da3c2.tar.gz historical-ce1f68d9bda372aec797b7da550d8466b29da3c2.tar.bz2 historical-ce1f68d9bda372aec797b7da550d8466b29da3c2.zip |
Added ebuild by Chewi from java-overlay, with some fixes from me
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'dev-java/jvyamlb/jvyamlb-0.2.2.ebuild')
-rw-r--r-- | dev-java/jvyamlb/jvyamlb-0.2.2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/jvyamlb/jvyamlb-0.2.2.ebuild b/dev-java/jvyamlb/jvyamlb-0.2.2.ebuild new file mode 100644 index 000000000000..b8da9a34a0be --- /dev/null +++ b/dev-java/jvyamlb/jvyamlb-0.2.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jvyamlb/jvyamlb-0.2.2.ebuild,v 1.1 2008/11/16 15:45:36 fordfrog Exp $ + +EAPI="2" +JAVA_PKG_IUSE="source test" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="JvYAMLb, YAML processor extracted from JRuby" +HOMEPAGE="http://code.google.com/p/jvyamlb/" +SRC_URI="http://jvyamlb.googlecode.com/files/jvyamlb-src-${PV}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CDEPEND=" + dev-java/bytelist:0 + dev-java/joda-time:0" +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.4 + test? ( dev-java/ant-junit ) + ${CDEPEND}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="bytelist joda-time" + +src_unpack() { + unpack ${A} + cd "${S}" + + rm -fv lib/*.jar || die + + # Don't do tests unnecessarily. + sed -i 's:depends="test":depends="compile":' build.xml +} + +src_install() { + java-pkg_newjar lib/${P}.jar + use source && java-pkg_dosrc src/* +} + +src_test() { + ANT_TASKS="ant-junit" eant test +} |