From 0747d9cbd2fdde38e6dd8a0edfe3790e8fe98663 Mon Sep 17 00:00:00 2001 From: Marco Genasci Date: Sun, 28 Mar 2021 08:44:50 +0200 Subject: dev-db/sqlcl-bin: version bump to 20.4.2.35.2359 Closes: https://bugs.gentoo.org/778833 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Marco Genasci Signed-off-by: Joonas Niilola --- dev-db/sqlcl-bin/Manifest | 1 + dev-db/sqlcl-bin/sqlcl-bin-20.4.2.35.2359.ebuild | 46 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-db/sqlcl-bin/sqlcl-bin-20.4.2.35.2359.ebuild (limited to 'dev-db/sqlcl-bin') diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest index 3494db076f01..8579f446ce13 100644 --- a/dev-db/sqlcl-bin/Manifest +++ b/dev-db/sqlcl-bin/Manifest @@ -1 +1,2 @@ DIST sqlcl-20.4.1.351.1718.zip 36694031 BLAKE2B e2c3548676223891afdf346ed5e9e3150557251e017cc6b13709f00998113a9fe44d20fa5e5969b7c4671c88b9daec77dc7f730437e1be71fd93f1f542a7c4d5 SHA512 14efb04f87da6b3e93edbc654164ee25fe8258bcc5ba91ff2e42e10d036e493e0e65c2e82795ba7ac93055af7d2d923e35573e63dbd3f22c2241bd3041c3e56d +DIST sqlcl-20.4.2.35.2359.zip 36343222 BLAKE2B 138b4867a785e3b76dfb0e9eae51bab80d64d5136ed8ecc582e2bb119a8818c7cf442019311221cc02440643acf3ffe8e36658a3b1622e71badd49e2f4e3db7c SHA512 9e3887c7c59d489567a761c9b81c4ed6fced4cc1a23286ae39c956e4280996b12fc6e9ebd69c32fdfe3f0c2755dc087d5e18f99a2175d9de8d474c41ee8a17ed diff --git a/dev-db/sqlcl-bin/sqlcl-bin-20.4.2.35.2359.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-20.4.2.35.2359.ebuild new file mode 100644 index 000000000000..ab45e758fa33 --- /dev/null +++ b/dev-db/sqlcl-bin/sqlcl-bin-20.4.2.35.2359.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/-bin}" +MY_P="${MY_PN}-${PV}" + +inherit java-pkg-2 + +DESCRIPTION="Oracle SQLcl is the new SQL*Plus" +HOMEPAGE="https://www.oracle.com/database/technologies/appdev/sqlcl.html" +SRC_URI="${MY_P}.zip" +RESTRICT="bindist fetch mirror" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="app-arch/unzip" +RDEPEND="dev-db/oracle-instantclient + dev-java/java-config:2 + >=virtual/jre-1.8" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please go to" + einfo + einfo " ${HOMEPAGE}" + einfo + einfo "and download" + einfo + einfo " Command Line - SQLcl" + einfo " ${SRC_URI}" + einfo + einfo "which must be placed in DISTDIR directory." +} + +src_install() { + java-pkg_dojar sqlcl/lib/*.jar sqlcl/lib/ext/*.jar + + java-pkg_dolauncher "${MY_PN}" \ + --main oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli \ + --java_args '-client -Xss30M' +} -- cgit v1.2.3-65-gdbad