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 | abff96b7906749b0c11ac4d24adc3b22bc6b049d (patch) | |
tree | 39607095da4efb7679b69f90ff81e3a4ac285f48 /dev-java/jvyamlb | |
parent | Added missing dependency, bug #239675 thank Evil Compile Person for report. S... (diff) | |
download | gentoo-2-abff96b7906749b0c11ac4d24adc3b22bc6b049d.tar.gz gentoo-2-abff96b7906749b0c11ac4d24adc3b22bc6b049d.tar.bz2 gentoo-2-abff96b7906749b0c11ac4d24adc3b22bc6b049d.zip |
Added ebuild by Chewi from java-overlay, with some fixes from me
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'dev-java/jvyamlb')
-rw-r--r-- | dev-java/jvyamlb/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jvyamlb/jvyamlb-0.2.2.ebuild | 47 | ||||
-rw-r--r-- | dev-java/jvyamlb/metadata.xml | 7 |
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/jvyamlb/ChangeLog b/dev-java/jvyamlb/ChangeLog new file mode 100644 index 000000000000..935c3e746a6f --- /dev/null +++ b/dev-java/jvyamlb/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jvyamlb +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jvyamlb/ChangeLog,v 1.1 2008/11/16 15:45:36 fordfrog Exp $ + +*jvyamlb-0.2.2 (16 Nov 2008) + + 16 Nov 2008; Miroslav Šulc <fordfrog@gentoo.org> +metadata.xml, + +jvyamlb-0.2.2.ebuild: + Added ebuild by Chewi from java-overlay, with some fixes from me + 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 +} diff --git a/dev-java/jvyamlb/metadata.xml b/dev-java/jvyamlb/metadata.xml new file mode 100644 index 000000000000..fde013762ada --- /dev/null +++ b/dev-java/jvyamlb/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<pkgmetadata> +<herd>java</herd> +<maintainer> + <email>java@gentoo.org</email> +</maintainer> +</pkgmetadata> |