mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-05 17:27:07 -08:00
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
28 lines
530 B
Bash
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}"
|
|
}
|