public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/
Date: Sat,  7 Jan 2012 11:50:00 +0000 (UTC)	[thread overview]
Message-ID: <ae26764d99ae38abe26801a7c45bf7686aacf7ef.graaff@gentoo> (raw)

commit:     ae26764d99ae38abe26801a7c45bf7686aacf7ef
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Sat Jan  7 11:48:30 2012 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jan  7 11:48:30 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=ae26764d

Version bump by ali_bush.

(Portage version: 2.1.10.41/git/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

---
 dev-java/jaffl/ChangeLog           |    9 ++++
 dev-java/jaffl/jaffl-0.5.10.ebuild |   76 ++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+), 0 deletions(-)

diff --git a/dev-java/jaffl/ChangeLog b/dev-java/jaffl/ChangeLog
new file mode 100644
index 0000000..cd8b19c
--- /dev/null
+++ b/dev-java/jaffl/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/jaffl
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*jaffl-0.5.10 (07 Jan 2012)
+
+  07 Jan 2012; Hans de Graaff <graaff@gentoo.org> +jaffl-0.5.10.ebuild:
+  Version bump by ali_bush.
+

diff --git a/dev-java/jaffl/jaffl-0.5.10.ebuild b/dev-java/jaffl/jaffl-0.5.10.ebuild
new file mode 100644
index 0000000..cbd92d1
--- /dev/null
+++ b/dev-java/jaffl/jaffl-0.5.10.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaffl/jaffl-0.5.1.ebuild,v 1.4 2010/06/30 15:26:06 phajdan.jr Exp $
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc source"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="An abstracted interface to invoking native functions from java"
+HOMEPAGE="http://kenai.com/projects/jaffl"
+SRC_URI="http://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+CDEPEND="dev-java/jffi:0.4
+	dev-java/jnr-x86asm:0
+	dev-java/asm:3"
+
+RDEPEND=">=virtual/jre-1.5
+	${CDEPEND}"
+DEPEND=">=virtual/jdk-1.5
+	app-arch/unzip
+	${CDEPEND}
+	test? (
+		dev-java/junit:4
+		dev-java/ant-junit4:0
+		dev-java/hamcrest-core:0
+	)"
+
+JAR_VERSION=$(get_version_component_range 1-2)
+
+src_unpack() {
+	unpack ${A}
+	cd "${WORKDIR}" || die
+	mv * "${P}" || die
+}
+
+java_prepare() {
+	rm -vf lib/{.,junit*}/*.jar
+
+	epatch "${FILESDIR}/library-path-0.5.9.patch" || die
+
+	java-pkg_jar-from --into lib jffi-0.4
+	java-pkg_jar-from --into lib jnr-x86asm
+	java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
+	java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
+	java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
+	java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
+	java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
+	java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
+}
+
+EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
+	-Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
+	-Dproject.jffi=\"${S}\" \
+	-Dproject.jnr-x86asm=\"${S}\"
+	-D\"already.built.${S}\"=true"
+
+src_install() {
+	java-pkg_dojar "dist/${PN}-${JAR_VERSION}.jar"
+	use doc && java-pkg_dojavadoc dist/javadoc
+	use source && java-pkg_dosrc src/*
+}
+
+src_test() {
+	local paths="$(java-config -di jnr-x86asm,jffi-0.4):${S}/build"
+	ANT_TASKS="ant-junit4 ant-nodeps" eant test \
+		-Drun.jvmargs="-Djava.library.path=${paths}" \
+		-Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
+}
\ No newline at end of file



             reply	other threads:[~2012-01-07 11:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-07 11:50 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-08 10:23 [gentoo-commits] proj/ruby-overlay:master commit in: dev-java/jaffl/ Hans de Graaff
2014-05-14 23:39 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ae26764d99ae38abe26801a7c45bf7686aacf7ef.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox