summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jvyamlb')
-rw-r--r--dev-java/jvyamlb/Manifest1
-rw-r--r--dev-java/jvyamlb/jvyamlb-0.2.5.ebuild46
-rw-r--r--dev-java/jvyamlb/metadata.xml11
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/jvyamlb/Manifest b/dev-java/jvyamlb/Manifest
new file mode 100644
index 000000000000..035759b93b05
--- /dev/null
+++ b/dev-java/jvyamlb/Manifest
@@ -0,0 +1 @@
+DIST jvyamlb-src-0.2.5.tar.gz 1767828 SHA256 49294affa1a43dbd169c0f983575b4ed4b15e02079740115bd4c9cf9401c8793 SHA512 1e853ff957b888d706a4d264aac4573cf4aced02604e2679d5871f3a92c016136a7fb73adf5d5c0be0cea9f28b4bc6faf11abc0334fe2f96a251a7d9cc228711 WHIRLPOOL 150906b115fa76e0837422d5b139721a072e6ccfda376a9958bc8c7731cdb2c4142fedadd2148bd4cfc35314c8177b34c32819b7716ba212544f4c84543669f1
diff --git a/dev-java/jvyamlb/jvyamlb-0.2.5.ebuild b/dev-java/jvyamlb/jvyamlb-0.2.5.ebuild
new file mode 100644
index 000000000000..79e5e8d5410d
--- /dev/null
+++ b/dev-java/jvyamlb/jvyamlb-0.2.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~ppc x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE=""
+
+CDEPEND="dev-java/bytelist:0
+ dev-java/jcodings: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 jcodings joda-time"
+
+java_prepare() {
+ 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/*
+ dodoc CREDITS README || die
+}
+
+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..46ab2b1323bf
--- /dev/null
+++ b/dev-java/jvyamlb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">jvyamlb</remote-id>
+ </upstream>
+</pkgmetadata>