Files
gentoo/dev-java/jdbc-mssqlserver/jdbc-mssqlserver-6.2.2.ebuild
T
James Le Cuirot 83344e40d7 dev-java/jdbc-mssqlserver: Version bump to 6.2.2
I tried to build this from source but it needs Azure libraries, which
are optional at runtime. We weren't building from source before so
nothing lost, I suppose.

I'm guessing the 4.0 SLOT referred to JDBC 4.0 for Java 6 so I have
bumped this to JDBC 4.2 for Java 8.

Package-Manager: Portage-2.3.17, Repoman-2.3.6
2017-12-10 20:06:10 +00:00

28 lines
530 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit java-pkg-2 versionator
DESCRIPTION="JDBC driver for Microsoft SQL Server"
HOMEPAGE="https://github.com/Microsoft/mssql-jdbc"
SRC_URI="https://github.com/Microsoft/mssql-jdbc/releases/download/v${PV}/mssql-jdbc-${PV}.jre8.jar"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="4.2"
DEPEND=""
RDEPEND=">=virtual/jre-1.8"
S="${WORKDIR}"
src_unpack() {
:
}
src_install() {
java-pkg_newjar "${DISTDIR}/${A}"
}