summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2010-06-03 12:23:59 +0000
committerAlistair Bush <ali_bush@gentoo.org>2010-06-03 12:23:59 +0000
commit4f96497764707575e8450b4b60e2cc3c88556cab (patch)
treea92d0b510a72d4dd51c08de265afd93abe875c78 /dev-java/jnr-posix
parentFix LICENSE installation and usage thanks to Samuli (diff)
downloadhistorical-4f96497764707575e8450b4b60e2cc3c88556cab.tar.gz
historical-4f96497764707575e8450b4b60e2cc3c88556cab.tar.bz2
historical-4f96497764707575e8450b4b60e2cc3c88556cab.zip
Version Bump jna-posix and rename to jnr-posix.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-java/jnr-posix')
-rw-r--r--dev-java/jnr-posix/ChangeLog11
-rw-r--r--dev-java/jnr-posix/Manifest4
-rw-r--r--dev-java/jnr-posix/jnr-posix-1.1.4.ebuild61
-rw-r--r--dev-java/jnr-posix/metadata.xml6
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/jnr-posix/ChangeLog b/dev-java/jnr-posix/ChangeLog
new file mode 100644
index 000000000000..8946f0c94b94
--- /dev/null
+++ b/dev-java/jnr-posix/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/jnr-posix
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-posix/ChangeLog,v 1.1 2010/06/03 12:23:59 ali_bush Exp $
+
+*jnr-posix-1.1.4 (04 Jun 2010)
+
+ 04 Jun 2010; Alistair Bush <ali_bush@gentoo.org> +jnr-posix-1.1.4.ebuild,
+ +metadata.xml:
+ Version Bump and package rename from jna-posix. Dropped ~ppc as new
+ dependency jnr-x86asm produces x86/amd64 arch binary machine code only.
+
diff --git a/dev-java/jnr-posix/Manifest b/dev-java/jnr-posix/Manifest
new file mode 100644
index 000000000000..882aef33c0a7
--- /dev/null
+++ b/dev-java/jnr-posix/Manifest
@@ -0,0 +1,4 @@
+DIST jnr-posix-1.1.4.tar.gz 195191 RMD160 48e72a85d7c4d4f267c2bf564e6c8b98e499977e SHA1 3d8386bcec82e510358fc66b643b948597985acc SHA256 458f1cdf0153e787cdfeae95409ef5fc6d8df7945665fde628ce46399ce5be70
+EBUILD jnr-posix-1.1.4.ebuild 1734 RMD160 c27212e75ea3c86df511dc580611e6d1cce8b351 SHA1 6d80bde039761e9b1d34ffaee72445352788b8d8 SHA256 f9fad8bb4395b09745b8f491d127bbf55c8c0bc5e39da91e30196bdd8b75e19f
+MISC ChangeLog 482 RMD160 4a2b795a80c79c417d939c2a6f09f0b4888df02c SHA1 c4258b1682057e7442bec12f8e9856ab45e1ef6d SHA256 ac96912213735c95aa9145083ac482afcb157951b16878fb0cffe4ed7b6f1d55
+MISC metadata.xml 159 RMD160 5259d4be0ca7b74c28e711d45a289def9aeadbd9 SHA1 c4ec40cd8f19e0d780a5133941bc50043be198cf SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b
diff --git a/dev-java/jnr-posix/jnr-posix-1.1.4.ebuild b/dev-java/jnr-posix/jnr-posix-1.1.4.ebuild
new file mode 100644
index 000000000000..bf0190355ec4
--- /dev/null
+++ b/dev-java/jnr-posix/jnr-posix-1.1.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-posix/jnr-posix-1.1.4.ebuild,v 1.1 2010/06/03 12:23:59 ali_bush Exp $
+
+EAPI="2"
+JAVA_PKG_IUSE="source test"
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Lightweight cross-platform POSIX emulation layer for Java"
+HOMEPAGE="http://github.com/wmeissner/jnr-posix/"
+SRC_URI="http://github.com/wmeissner/${PN}/tarball/${PV} -> ${P}.tar.gz"
+LICENSE="|| ( CPL-1.0 GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE=""
+
+CDEPEND="dev-java/jaffl:0
+ >=dev-java/constantine-0.7:0"
+
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.5
+ ${CDEPEND}
+ test? (
+ dev-java/ant-junit4
+ dev-java/jffi:0.4
+ )"
+
+java_prepare() {
+ find . -iname '*.jar' -delete
+ java-pkg_jar-from --into lib constantine
+ java-pkg_jar-from --into lib jaffl
+
+ sed -i -e 's_\.\./jaffl\.git/__g' nbproject/project.properties || die
+}
+
+EANT_EXTRA_ARGS="-Dreference.jaffl.jar=lib/jaffl.jar \
+ -Dreference.constantine.jar=lib/constantine.jar \
+ -Dproject.constantine=\"${S}\" \
+ -Dproject.jaffl=\"${S}\" \
+ -D\"already.built.${S}\"=true"
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ use source && java-pkg_dosrc src/*
+ dodoc README.txt || die
+}
+
+src_test() {
+ sed -i -e \
+ "s_\${file.reference.jffi-complete.jar}_$(java-pkg_getjars --build-only --with-dependencies jffi-0.4,jaffl)_" \
+ nbproject/project.properties
+
+ ANT_TASKS="ant-junit4 ant-nodeps" eant test \
+ -Dlibs.junit_4.classpath="$(java-pkg_getjars --with-dependencies junit-4)" \
+ -Djava.library.path="$(java-config -di jaffl,constantine,jffi-0.4)" \
+ ${EANT_EXTRA_ARGS}
+}
diff --git a/dev-java/jnr-posix/metadata.xml b/dev-java/jnr-posix/metadata.xml
new file mode 100644
index 000000000000..604e0a4238bb
--- /dev/null
+++ b/dev-java/jnr-posix/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
+