summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2008-11-16 15:45:36 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2008-11-16 15:45:36 +0000
commitce1f68d9bda372aec797b7da550d8466b29da3c2 (patch)
treed9107d87ad85727a27281dc2f8730ede608b8e31 /dev-java
parentAdded missing dependency, bug #239675 thank Evil Compile Person for report. S... (diff)
downloadhistorical-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')
-rw-r--r--dev-java/jvyamlb/ChangeLog10
-rw-r--r--dev-java/jvyamlb/Manifest4
-rw-r--r--dev-java/jvyamlb/jvyamlb-0.2.2.ebuild47
-rw-r--r--dev-java/jvyamlb/metadata.xml7
4 files changed, 68 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/Manifest b/dev-java/jvyamlb/Manifest
new file mode 100644
index 000000000000..a2732877522b
--- /dev/null
+++ b/dev-java/jvyamlb/Manifest
@@ -0,0 +1,4 @@
+DIST jvyamlb-src-0.2.2.tar.gz 1146249 RMD160 2571628ea19203e1f5603dd9032f8f1867e46a71 SHA1 f4e0452f232160ddaa898dd35b0aba82d2f8f66c SHA256 59a6a2975ad7515e68016fdb088b13013f739f9c7c348658f8eb6fb4beee459e
+EBUILD jvyamlb-0.2.2.ebuild 1054 RMD160 221f77fa990b6dcbfae0266cbef5472c68cb6b2a SHA1 070c55b5ec679b5e794f0918d1fc6143ab20423f SHA256 32c20314bf91733be7d82461e93ca954abf3d21a3484447932f9fc6109799570
+MISC ChangeLog 397 RMD160 ef4c19194c6cf6cf517b39a1cb11990735f6e987 SHA1 8d0c7c1fcaae60059139ff631f7be09ed1333315 SHA256 e5dca9004474d2289cb7819e9b02d135a39ea238d4b14bdb82c0070cb87d9c47
+MISC metadata.xml 146 RMD160 204468a395c66c3476c0d3c6793e06d17c04f11d SHA1 57f13e066b456ca072923d16784fdeb05374e56d SHA256 a04f0525e90bc81f0aa09200eef9c1a5c43f1bd7e2c06d66dc501bf5bb3e94f0
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>