Added jni use flag to 2.0.1 and 2.1.0 to control building of the native parts, the...
authorWilliam Thomson <wltjr@gentoo.org>
Sun, 10 Dec 2006 20:15:17 +0000 (20:15 +0000)
committerWilliam Thomson <wltjr@gentoo.org>
Sun, 10 Dec 2006 20:15:17 +0000 (20:15 +0000)
Package-Manager: portage-2.1.2_rc3-r1

dev-java/jdbc-jaybird/ChangeLog
dev-java/jdbc-jaybird/Manifest
dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-1.5.6 [new file with mode: 0644]
dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.0.1-r1 [new file with mode: 0644]
dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.1.0-r1 [new file with mode: 0644]
dev-java/jdbc-jaybird/jdbc-jaybird-1.5.6.ebuild [new file with mode: 0644]
dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1-r1.ebuild [new file with mode: 0644]
dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0-r1.ebuild [new file with mode: 0644]

index b85d6ffbfeffb0f4ddab07aa0bc194bf754851f6..9fb2a8d2d3465bea276e74ab812bd2f43820cd07 100644 (file)
@@ -1,6 +1,17 @@
 # ChangeLog for dev-java/jdbc-jaybird
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-jaybird/ChangeLog,v 1.11 2006/11/08 07:55:50 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-jaybird/ChangeLog,v 1.12 2006/12/10 20:15:17 wltjr Exp $
+
+*jdbc-jaybird-2.1.0-r1 (10 Dec 2006)
+*jdbc-jaybird-2.0.1-r1 (10 Dec 2006)
+*jdbc-jaybird-1.5.6 (10 Dec 2006)
+
+  10 Dec 2006; William L. Thomson Jr. <wltjr@gentoo.org>
+  +jdbc-jaybird-1.5.6.ebuild, +jdbc-jaybird-2.0.1-r1.ebuild,
+  +jdbc-jaybird-2.1.0-r1.ebuild:
+  Added jni use flag to 2.0.1 and 2.1.0 to control building of the native
+  parts, the JDBC type 2 native part. Brought over 1.5.x from jdbc*-firebird,
+  to prepare for that package removal/move.
 
   08 Nov 2006; Christian Faulhammer <opfer@gentoo.org>
   jdbc-jaybird-2.1.0.ebuild:
index e9a94001ad05f3bcce528f2f6ff73e54cd006946..a4abcf2b76e7e5c13747631569e8ac9fbb24cedf 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX archive-xml-2.0.1.patch 387 RMD160 7cfbbf7027cb80ed0f75fd6d3fee55735f1cd497 SHA1 b53eec1c235b34d178e8851ab3e37d39e118c382 SHA256 6cfe878c1244d9201c5ed996abb70d0de76e21b27fa4899259a82da91dcc9de5
 MD5 4f432a684ef56a2acdbf3544104fff5c files/archive-xml-2.0.1.patch 387
 RMD160 7cfbbf7027cb80ed0f75fd6d3fee55735f1cd497 files/archive-xml-2.0.1.patch 387
@@ -21,34 +18,49 @@ AUX dist-xml-2.0.1.patch 377 RMD160 8b385d472e126a5994a7862a5dbe304cf304932b SHA
 MD5 435c1d2d1810515aa3a1dc739087f0ce files/dist-xml-2.0.1.patch 377
 RMD160 8b385d472e126a5994a7862a5dbe304cf304932b files/dist-xml-2.0.1.patch 377
 SHA256 dad962de758f785af7e0b4731a70ca2f32dc74acd5028572f93b4aa957d4a1dd files/dist-xml-2.0.1.patch 377
+DIST FirebirdSQL-1.5.6JDK_1.4.zip 2747362 RMD160 6648bd21c8a7cd0764edc1f8b3b591cad74ab972 SHA1 776eb7c7cf45fd85dbf5663f8d860ab2a641cfc6 SHA256 9eb1f53084692028461b0a13de490fc909352c2f3b32ae0fd5d5cbabda905f7d
 DIST JayBird-2.0.1-src.zip 4899770 RMD160 50e3fb99668ca08116fec3838892e1e6ff4b8e7d SHA1 21adf4a88660c10f7afb2daddec2c4826d068fd7 SHA256 ad3d6ad4199419752281c0e11f445fd109542499d162b5356e98e6eceb25a914
 DIST Jaybird-2.1.0-src.zip 5004088 RMD160 1066f39a393ff14812c907c38aeb094c407114da SHA1 a99c4b0ed90ff1252d6f5b076bfad8087eda6faf SHA256 a96cff648af0ef01b48e3471525d2447a76015e609bbf81a54c372d2963e0214
+EBUILD jdbc-jaybird-1.5.6.ebuild 751 RMD160 a295800da95430ac983ac5372fd56ec39336128d SHA1 5c4faf4b5f59c12e41bce91121342421704a2563 SHA256 44a9fc0c62f1e19450b652bf3aefd8dae6a7d4af03219d8e63305d207db47d2a
+MD5 b58b0e7fa29120829262cb2d678050e0 jdbc-jaybird-1.5.6.ebuild 751
+RMD160 a295800da95430ac983ac5372fd56ec39336128d jdbc-jaybird-1.5.6.ebuild 751
+SHA256 44a9fc0c62f1e19450b652bf3aefd8dae6a7d4af03219d8e63305d207db47d2a jdbc-jaybird-1.5.6.ebuild 751
+EBUILD jdbc-jaybird-2.0.1-r1.ebuild 2897 RMD160 cba6427bdb97250f186e8642c0909b77287e8244 SHA1 50cfe3142f920af400f9910823591c03f1a3fd7a SHA256 8c97e32b82840907d4c54fedd29f2363c81d9b216c18bac59253f266d62b9a6e
+MD5 e4f056816519db09b6b7d67db25a93e0 jdbc-jaybird-2.0.1-r1.ebuild 2897
+RMD160 cba6427bdb97250f186e8642c0909b77287e8244 jdbc-jaybird-2.0.1-r1.ebuild 2897
+SHA256 8c97e32b82840907d4c54fedd29f2363c81d9b216c18bac59253f266d62b9a6e jdbc-jaybird-2.0.1-r1.ebuild 2897
 EBUILD jdbc-jaybird-2.0.1.ebuild 2858 RMD160 c10adcbe9046329f1b4042159a9e60d8cfaf051a SHA1 17e8d50930fac15c36881590488b908eb15dfcd6 SHA256 8841282962d2193529f202dd0fcfe3fe49e02c46ca13efd6bbf0461b4c1aeea4
 MD5 778f9279adba18cd42765aebdd91a4a1 jdbc-jaybird-2.0.1.ebuild 2858
 RMD160 c10adcbe9046329f1b4042159a9e60d8cfaf051a jdbc-jaybird-2.0.1.ebuild 2858
 SHA256 8841282962d2193529f202dd0fcfe3fe49e02c46ca13efd6bbf0461b4c1aeea4 jdbc-jaybird-2.0.1.ebuild 2858
+EBUILD jdbc-jaybird-2.1.0-r1.ebuild 2691 RMD160 6bfe64b011e23d29abf51e0d338c3ed02dc34267 SHA1 f820a360ed7e9f7f296e3a01aa09f02512da1efc SHA256 7827b9ee447a961a3434b009c054a714e26ad38d51c046b7396a5507a933e1d4
+MD5 aabfe8367fbfca22ff1c451c5f2c048c jdbc-jaybird-2.1.0-r1.ebuild 2691
+RMD160 6bfe64b011e23d29abf51e0d338c3ed02dc34267 jdbc-jaybird-2.1.0-r1.ebuild 2691
+SHA256 7827b9ee447a961a3434b009c054a714e26ad38d51c046b7396a5507a933e1d4 jdbc-jaybird-2.1.0-r1.ebuild 2691
 EBUILD jdbc-jaybird-2.1.0.ebuild 2654 RMD160 eb5deb6b06031be3a4f0b2ebb2bc2f7a0c5ffa8a SHA1 febf6745fde70c9b84902e4f1ca7b9e8af8e915b SHA256 42b6e8fc3d7e66b1617cab1fdee4fcf2eae327363dd9a5fd6e66e4582a723082
 MD5 4381aa56a435bf04c442c836028c0c23 jdbc-jaybird-2.1.0.ebuild 2654
 RMD160 eb5deb6b06031be3a4f0b2ebb2bc2f7a0c5ffa8a jdbc-jaybird-2.1.0.ebuild 2654
 SHA256 42b6e8fc3d7e66b1617cab1fdee4fcf2eae327363dd9a5fd6e66e4582a723082 jdbc-jaybird-2.1.0.ebuild 2654
-MISC ChangeLog 2120 RMD160 76a8453789282a7dd4667d154c5d6d2eca2ccdad SHA1 adbccb6d18eee2d7f57d937bfa5f53bed09d0ee5 SHA256 2bbe9c587e267a27b38a2ea104c3f76a032c22ea2b40a17e0a27180764431c3f
-MD5 c425b74a641e848abadb8bdab0028c52 ChangeLog 2120
-RMD160 76a8453789282a7dd4667d154c5d6d2eca2ccdad ChangeLog 2120
-SHA256 2bbe9c587e267a27b38a2ea104c3f76a032c22ea2b40a17e0a27180764431c3f ChangeLog 2120
+MISC ChangeLog 2577 RMD160 f25f05a97dbc4d5530b9d43c5e01caf2db1add1a SHA1 20da96a8a05f1e56ed33b93dfe5843a42c39ddeb SHA256 cb52805f2ef17cdb6ed4feca56c050ab10f5833b650ad16ae0a0844f20001025
+MD5 2fbeda1b09f34c8f791668aadf5ac907 ChangeLog 2577
+RMD160 f25f05a97dbc4d5530b9d43c5e01caf2db1add1a ChangeLog 2577
+SHA256 cb52805f2ef17cdb6ed4feca56c050ab10f5833b650ad16ae0a0844f20001025 ChangeLog 2577
 MISC metadata.xml 428 RMD160 2c8aa4639fd5675819c5a105d24fbc538f9bb471 SHA1 76b3cd6dba37cfabeb1ef69314b1e05b8cd7bd12 SHA256 8c5b2d28256190682037a14b86a7d4a29d2b79671ccde3631c1eb5d656223091
 MD5 37d8cbe784ce232ec1b6bd1e8cf5cde4 metadata.xml 428
 RMD160 2c8aa4639fd5675819c5a105d24fbc538f9bb471 metadata.xml 428
 SHA256 8c5b2d28256190682037a14b86a7d4a29d2b79671ccde3631c1eb5d656223091 metadata.xml 428
+MD5 66111a473364aebc2b4b05b710231cc4 files/digest-jdbc-jaybird-1.5.6 268
+RMD160 5d1e2807e7add7360da12f012859db0ff9b475a0 files/digest-jdbc-jaybird-1.5.6 268
+SHA256 04456895f8b47dc2a39624cf664c6ffcee281a39d405d151df333e2b026cb529 files/digest-jdbc-jaybird-1.5.6 268
 MD5 6c6a365fa003e27aa057f1b60b09bc71 files/digest-jdbc-jaybird-2.0.1 247
 RMD160 954d1ce9745c47233fc59a5eb7d4241840051671 files/digest-jdbc-jaybird-2.0.1 247
 SHA256 daac132ade2347576fc4870f504610e430c89211b336bfbcf262ee81e7473869 files/digest-jdbc-jaybird-2.0.1 247
+MD5 6c6a365fa003e27aa057f1b60b09bc71 files/digest-jdbc-jaybird-2.0.1-r1 247
+RMD160 954d1ce9745c47233fc59a5eb7d4241840051671 files/digest-jdbc-jaybird-2.0.1-r1 247
+SHA256 daac132ade2347576fc4870f504610e430c89211b336bfbcf262ee81e7473869 files/digest-jdbc-jaybird-2.0.1-r1 247
 MD5 2d275643a2fddc9000f8d416dd908e6b files/digest-jdbc-jaybird-2.1.0 247
 RMD160 de7d5a5a54a1076bf0dc82ccba145e2843dd2c89 files/digest-jdbc-jaybird-2.1.0 247
 SHA256 1bde00cf88acb3441873dada2c0efe24051a02bd5b35a0044ee28e169d516638 files/digest-jdbc-jaybird-2.1.0 247
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFUY22NQqtfCuFneMRAoD7AKCNXR5EO1Lylo9Oo32Uv5oGZ7kIuwCglP3/
-eRP369Kkxk05uJYtL3wCsYE=
-=RLaN
------END PGP SIGNATURE-----
+MD5 2d275643a2fddc9000f8d416dd908e6b files/digest-jdbc-jaybird-2.1.0-r1 247
+RMD160 de7d5a5a54a1076bf0dc82ccba145e2843dd2c89 files/digest-jdbc-jaybird-2.1.0-r1 247
+SHA256 1bde00cf88acb3441873dada2c0efe24051a02bd5b35a0044ee28e169d516638 files/digest-jdbc-jaybird-2.1.0-r1 247
diff --git a/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-1.5.6 b/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-1.5.6
new file mode 100644 (file)
index 0000000..73ad052
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 f2eced657ef63465226560e0101bbdc1 FirebirdSQL-1.5.6JDK_1.4.zip 2747362
+RMD160 6648bd21c8a7cd0764edc1f8b3b591cad74ab972 FirebirdSQL-1.5.6JDK_1.4.zip 2747362
+SHA256 9eb1f53084692028461b0a13de490fc909352c2f3b32ae0fd5d5cbabda905f7d FirebirdSQL-1.5.6JDK_1.4.zip 2747362
diff --git a/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.0.1-r1 b/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.0.1-r1
new file mode 100644 (file)
index 0000000..284bfa8
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 fc2b2f24c0998d736bd68d0bd0e2059f JayBird-2.0.1-src.zip 4899770
+RMD160 50e3fb99668ca08116fec3838892e1e6ff4b8e7d JayBird-2.0.1-src.zip 4899770
+SHA256 ad3d6ad4199419752281c0e11f445fd109542499d162b5356e98e6eceb25a914 JayBird-2.0.1-src.zip 4899770
diff --git a/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.1.0-r1 b/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.1.0-r1
new file mode 100644 (file)
index 0000000..acdd35a
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 a1b30781c7d0d9918ae599058e769f34 Jaybird-2.1.0-src.zip 5004088
+RMD160 1066f39a393ff14812c907c38aeb094c407114da Jaybird-2.1.0-src.zip 5004088
+SHA256 a96cff648af0ef01b48e3471525d2447a76015e609bbf81a54c372d2963e0214 Jaybird-2.1.0-src.zip 5004088
diff --git a/dev-java/jdbc-jaybird/jdbc-jaybird-1.5.6.ebuild b/dev-java/jdbc-jaybird/jdbc-jaybird-1.5.6.ebuild
new file mode 100644 (file)
index 0000000..54e7746
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-jaybird/jdbc-jaybird-1.5.6.ebuild,v 1.1 2006/12/10 20:15:17 wltjr Exp $
+
+inherit java-pkg-2
+
+MY_P="FirebirdSQL-${PV}JDK_1.4"
+DESCRIPTION="JDBC Type 4 driver for Firebird SQL server"
+HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
+SRC_URI="mirror://sourceforge/firebird/${MY_P}.zip"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="doc"
+DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.5* )
+       app-arch/unzip"
+RDEPEND="|| ( =virtual/jre-1.4* =virtual/jre-1.5* )"
+S=${WORKDIR}
+
+src_install() {
+       java-pkg_dojar *.jar
+
+       use doc && java-pkg_dohtml -r docs/
+       dodoc ChangeLog release_notes.html
+}
diff --git a/dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1-r1.ebuild b/dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..4c03a45
--- /dev/null
@@ -0,0 +1,105 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1-r1.ebuild,v 1.1 2006/12/10 20:15:17 wltjr Exp $
+
+inherit eutils java-pkg-2
+
+At="JayBird-${PV}-src"
+DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
+HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
+SRC_URI="mirror://sourceforge/firebird/${At}.zip"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples jni source test"
+
+RDEPEND="|| ( =virtual/jre-1.4* =virtual/jre-1.5* )
+               dev-java/log4j"
+DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.5* )
+               app-arch/unzip
+               dev-java/log4j
+               jni? ( dev-java/cpptasks )
+               test? (
+                       dev-java/junit
+                       dev-java/ant
+               )
+               !test? ( dev-java/ant-core )
+               source? ( app-arch/zip )"
+
+S="${WORKDIR}/client-java"
+
+MY_PN="jaybird"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # make compiling of tests and examples optional, fix source/target
+       # disable checking for jdk version - default all to 1.4
+       # note that java-ant-2.eclass xml rewriting breaks here
+       epatch "${FILESDIR}/archive-xml-${PV}.patch"
+       epatch "${FILESDIR}/compile-xml-${PV}.patch"
+       epatch "${FILESDIR}/dist-xml-${PV}.patch"
+
+       cd "${S}/lib/"
+       rm -v *.jar
+       use test && java-pkg_jar-from --build-only junit junit.jar
+
+       cd "${S}/src/lib/"
+       # the build.xml unpacks this and uses stuff
+       mv mini-j2ee.jar ${T} || die "Failed to move mini-j2ee.jar to ${T}"
+       rm -v *.jar *.zip
+       mv ${T}/mini-j2ee.jar . || die "Failed to move mini-j2ee.jar back from ${T}"
+
+       java-pkg_jar-from log4j log4j.jar log4j-core.jar
+}
+
+src_compile() {
+       eant $(use test && echo "-Dtests=true") jars \
+               $(use jni && echo "compile-native") \
+               $(use_doc javadocs)
+}
+
+src_install() {
+       cd "${S}/output/lib/"
+       java-pkg_newjar ${MY_PN}-${PV}.jar ${PN}.jar
+
+       for jar in full pool; do
+               java-pkg_newjar ${MY_PN}-${jar}-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
+       done
+       if use test; then
+               java-pkg_newjar ${MY_PN}-test-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
+       fi
+
+       if use jni; then
+               cd "${S}/output/native"
+               sodest="/usr/lib/"
+               java-pkg_doso libjaybird2.so || die \
+                       "java-pkg_doso ${sodest}libjaybird2.so failed"
+       fi
+
+       cd "${S}"
+
+       if use examples; then
+               insinto /usr/share/doc/${PF}/
+               doins -r examples || die "installing examples failed"
+       fi
+
+       use source && java-pkg_dosrc "${S}"/src/*/org
+
+       cd "${S}/output"
+       use doc && java-pkg_dojavadoc docs
+       dodoc etc/FAQ.txt
+       dohtml etc/*.html
+}
+
+src_test() {
+       #
+       # Warning about timeouts without Firebird installed and running Locally
+       #
+       ewarn "You will experience long timeouts when running junit tests"
+       ewarn "without Firebird installed and running locally. The tests will"
+       ewarn "complete without Firebird, but network timeouts prolong the"
+       ewarn "testing phase considerably."
+       eant all-tests-pure-java
+}
diff --git a/dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0-r1.ebuild b/dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0-r1.ebuild
new file mode 100644 (file)
index 0000000..c41f960
--- /dev/null
@@ -0,0 +1,101 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0-r1.ebuild,v 1.1 2006/12/10 20:15:17 wltjr Exp $
+
+inherit eutils java-pkg-2
+
+At="Jaybird-${PV/_/}-src"
+DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
+HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
+SRC_URI="mirror://sourceforge/firebird/${At}.zip"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples jni source test"
+
+RDEPEND="|| ( =virtual/jre-1.4* =virtual/jre-1.5* )
+               dev-java/log4j"
+DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.5* )
+               app-arch/unzip
+               dev-java/log4j
+               jni? ( dev-java/cpptasks )
+               test? (
+                       dev-java/junit
+                       dev-java/ant
+               )
+               !test? ( dev-java/ant-core )
+               source? ( app-arch/zip )"
+
+S="${WORKDIR}/client-java"
+
+MY_PN="jaybird"
+
+src_unpack() {
+       unpack "${A}"
+       cd "${S}"
+
+       epatch "${FILESDIR}/archive-xml-${PV}.patch"
+       epatch "${FILESDIR}/compile-xml-${PV}.patch"
+
+       cd "${S}/lib/"
+       rm -v *.jar
+       use test && java-pkg_jar-from --build-only junit junit.jar
+
+       cd "${S}/src/lib/"
+       # the build.xml unpacks this and uses stuff
+       mv mini-j2ee.jar ${T} || die "Failed to move mini-j2ee.jar to ${T}"
+       rm -v *.jar *.zip
+       mv ${T}/mini-j2ee.jar . || die "Failed to move mini-j2ee.jar back from ${T}"
+
+       java-pkg_jar-from log4j log4j.jar log4j-core.jar
+}
+
+src_compile() {
+       eant $(use test && echo "-Dtests=true") jars \
+               $(use jni && echo "compile-native") \
+               $(use_doc javadocs)
+}
+
+src_install() {
+       cd "${S}/output/lib/"
+       java-pkg_newjar ${MY_PN}-${PV}.jar ${PN}.jar
+
+       for jar in full pool; do
+               java-pkg_newjar ${MY_PN}-${jar}-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
+       done
+       if use test; then
+               java-pkg_newjar ${MY_PN}-test-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
+       fi
+
+       if use jni; then
+               cd "${S}/output/native"
+               sodest="/usr/lib/"
+               java-pkg_doso libjaybird21.so || die \
+                       "java-pkg_doso ${sodest}libjaybird21.so failed"
+       fi
+
+       cd "${S}"
+
+       if use examples; then
+               insinto /usr/share/doc/${PF}/
+               doins -r examples || die "installing examples failed"
+       fi
+
+       use source && java-pkg_dosrc "${S}"/src/*/org
+
+       cd "${S}/output"
+       use doc && java-pkg_dohtml -r docs/
+       dodoc etc/{*.txt,default.mf}
+       dohtml etc/*.html
+}
+
+src_test() {
+       #
+       # Warning about timeouts without Firebird installed and running Locally
+       #
+       ewarn "You will experience long timeouts when running junit tests"
+       ewarn "without Firebird installed and running locally. The tests will"
+       ewarn "complete without Firebird, but network timeouts prolong the"
+       ewarn "testing phase considerably."
+       eant all-tests-pure-java
+}