summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-02-06 13:38:25 +0000
committerJames Le Cuirot <chewi@gentoo.org>2016-02-06 13:40:07 +0000
commit5755c8a5b3239463cc8f6895780a3af5fc1361e3 (patch)
treef64d196ba9d48dc1c904857cb08b89445e5b5d7f /dev-java/jtds
parentsys-apps/lshw: version bump to 02.17b-r2 with upstreamed musl patch (diff)
downloadgentoo-5755c8a5b3239463cc8f6895780a3af5fc1361e3.tar.gz
gentoo-5755c8a5b3239463cc8f6895780a3af5fc1361e3.tar.bz2
gentoo-5755c8a5b3239463cc8f6895780a3af5fc1361e3.zip
dev-java/jtds: Version bump to 1.3.1
Includes a rewrite using java-pkg-simple because it is simpler and doesn't require a patch. More importantly, this ebuild isn't restricted to Java 7. Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-java/jtds')
-rw-r--r--dev-java/jtds/Manifest1
-rw-r--r--dev-java/jtds/jtds-1.3.1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/jtds/Manifest b/dev-java/jtds/Manifest
index 05879eada824..d3716473807d 100644
--- a/dev-java/jtds/Manifest
+++ b/dev-java/jtds/Manifest
@@ -1,2 +1,3 @@
DIST jtds-1.2.5-src.zip 3953955 SHA256 d86c7244826543d2f2f9cdc1d50888003596c1ec18f30808b21627e8889e9114 SHA512 d2b496a7aac4e4c9c0e164c1514d2d21392024903e1376b13fa6a3396d045a1bfc6a085b2beb1202703a6b6e59e8b534bc82508fcb58c71a25b6a13a3d051eda WHIRLPOOL b5e88e6cdb00f797de1d824a7581d693111d4d746ce6d5a709934ce00befbed4fb4c3b248448715bdf27691c33d8f1cca8ca270e942eb27907cd2567e919084d
DIST jtds-1.3.0-src.zip 3377646 SHA256 9f500d9eb243e87ef16fbec3909d297b7261893a298646223c9722162ab43c75 SHA512 a07b0a69ecf055a6b2fac0a0cdf3f7562fefb7c4e4c65eed96cc9b667a66b4b4a0de543d904d8a9871031e181c0e75c450afb2f01bfb7a504d1abcd9776216e9 WHIRLPOOL 65707009909715fdfbdcc54b0345c657ec226810414b7d5a3fa08ec04b5eaa11950901221f5934a0e81739cfba70d004368dd7e2a95125d93d981204bd67072e
+DIST jtds-1.3.1-src.zip 3377625 SHA256 612dabd65542690f3b49b69cae6985192914594584f3eaa76c7523dc584b2d84 SHA512 1744219a52c7167449388d774fd5e834ef551f60548569c4c54e6caefaade1d932a3879a023869d8d9ddb29ce4ab52b6d08bc4c364d5f372ff5fa96bed6d9864 WHIRLPOOL 54e2ff6c0e208cad2bb44964b18eacca10cfa33bfd246f8eadb053e91c0cc52e57c21b9fde3528371bc628a946eff81e85cbaa09c1a3799eaa429b81cbd23546
diff --git a/dev-java/jtds/jtds-1.3.1.ebuild b/dev-java/jtds/jtds-1.3.1.ebuild
new file mode 100644
index 000000000000..510d183a8b58
--- /dev/null
+++ b/dev-java/jtds/jtds-1.3.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="jTDS - SQL Server and Sybase JDBC driver"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://jtds.sourceforge.net"
+LICENSE="LGPL-2.1"
+SLOT="1.3"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test" # Needs a running server
+
+CDEPEND="dev-java/jcifs:1.1"
+
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.7"
+
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.7
+ app-arch/unzip"
+
+JAVA_SRC_DIR="src/main"
+JAVA_ENCODING="ISO-8859-1"
+JAVA_GENTOO_CLASSPATH="jcifs-1.1"
+
+java_prepare() {
+ java-pkg_clean
+}
+
+src_compile() {
+ java-pkg-simple_src_compile
+ java-pkg_addres ${PN}.jar ${JAVA_SRC_DIR}
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc CHANGELOG README*
+}