summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2014-01-12 23:50:48 +0000
committerTom Wijsman <tomwij@gentoo.org>2014-01-12 23:50:48 +0000
commit6719a20d1f17ca1fc5751aee63dd9a22784802d5 (patch)
tree4a4529f5c884a158fa6d5dae1c46f6c6e229d654 /dev-java
parentAdd MODULE_VERSION variable. (diff)
downloadgentoo-2-6719a20d1f17ca1fc5751aee63dd9a22784802d5.tar.gz
gentoo-2-6719a20d1f17ca1fc5751aee63dd9a22784802d5.tar.bz2
gentoo-2-6719a20d1f17ca1fc5751aee63dd9a22784802d5.zip
Revision bump, depend on jnr-ffi:1; requested by Arfrever on IRC.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jnr-netdb/ChangeLog9
-rw-r--r--dev-java/jnr-netdb/jnr-netdb-1.1.2-r1.ebuild55
2 files changed, 62 insertions, 2 deletions
diff --git a/dev-java/jnr-netdb/ChangeLog b/dev-java/jnr-netdb/ChangeLog
index 1164324b294e..a541d1b0e49b 100644
--- a/dev-java/jnr-netdb/ChangeLog
+++ b/dev-java/jnr-netdb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jnr-netdb
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-netdb/ChangeLog,v 1.12 2013/07/11 21:51:44 tomwij Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-netdb/ChangeLog,v 1.13 2014/01/12 23:50:48 tomwij Exp $
+
+*jnr-netdb-1.1.2-r1 (12 Jan 2014)
+
+ 12 Jan 2014; Tom Wijsman <TomWij@gentoo.org> +jnr-netdb-1.1.2-r1.ebuild:
+ Revision bump, depend on jnr-ffi:1; requested by Arfrever on IRC.
*jnr-netdb-1.1.2 (11 Jul 2013)
diff --git a/dev-java/jnr-netdb/jnr-netdb-1.1.2-r1.ebuild b/dev-java/jnr-netdb/jnr-netdb-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..34d411e9762c
--- /dev/null
+++ b/dev-java/jnr-netdb/jnr-netdb-1.1.2-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-netdb/jnr-netdb-1.1.2-r1.ebuild,v 1.1 2014/01/12 23:50:48 tomwij Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2 vcs-snapshot
+
+DESCRIPTION="Network services database access for java."
+HOMEPAGE="https://github.com/jnr/jnr-netdb"
+SRC_URI="https://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="1.0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEP="
+ dev-java/jnr-ffi:1"
+
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.5"
+
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.5
+ test? (
+ dev-java/ant-junit
+ dev-java/junit:4
+ )"
+
+java_prepare() {
+ find -name '*.jar' -exec rm -v {} + || die
+
+ cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
+JAVA_ANT_ENCODING="UTF-8"
+
+EANT_GENTOO_CLASSPATH="jnr-ffi-1"
+EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_dojar target/${PN}.jar
+ dodoc README
+
+ use doc && java-pkg_dojavadoc target/site/apidocs
+ use source && java-pkg_dosrc src/main/java/*
+}