diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-02-17 16:10:44 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-18 03:20:38 +0000 |
commit | 1f67c49a58d45cc5f2fec1562c464a239f3f3d73 (patch) | |
tree | be219840ad8616acefc7e565a3907ecfc85314aa /dev-java/jtds | |
parent | thirdpartymirrors: adjust sourceforge (diff) | |
download | gentoo-1f67c49a58d45cc5f2fec1562c464a239f3f3d73.tar.gz gentoo-1f67c49a58d45cc5f2fec1562c464a239f3f3d73.tar.bz2 gentoo-1f67c49a58d45cc5f2fec1562c464a239f3f3d73.zip |
dev-java/jtds: min java 1.8:*
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24234
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/jtds')
-rw-r--r-- | dev-java/jtds/jtds-1.3.1-r1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/jtds/jtds-1.3.1-r1.ebuild b/dev-java/jtds/jtds-1.3.1-r1.ebuild new file mode 100644 index 000000000000..1d5fdce6047c --- /dev/null +++ b/dev-java/jtds/jtds-1.3.1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="jTDS - SQL Server and Sybase JDBC driver" +HOMEPAGE="http://jtds.sourceforge.net" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}-src.zip" + +LICENSE="LGPL-2.1" +SLOT="1.3" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" # Needs a running server + +CDEPEND="dev-java/jcifs:1.1" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:*" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" +BDEPEND="app-arch/unzip" + +JAVA_SRC_DIR="src/main" +JAVA_ENCODING="ISO-8859-1" +JAVA_GENTOO_CLASSPATH="jcifs-1.1" + +src_prepare() { + default + 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* +} |