summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2022-05-14 10:29:03 +0200
committerSam James <sam@gentoo.org>2022-05-19 02:10:43 +0000
commitcd4bc4d50d1d06f5e70f48331eea165bb674b3ef (patch)
tree96b815c68d21fd6eb9a8cac995162fa8027ab1ab /dev-db/sqlcl-bin
parentapp-emulation/firecracker-bin: 1.1.0 version bump (diff)
downloadgentoo-cd4bc4d50d1d06f5e70f48331eea165bb674b3ef.tar.gz
gentoo-cd4bc4d50d1d06f5e70f48331eea165bb674b3ef.tar.bz2
gentoo-cd4bc4d50d1d06f5e70f48331eea165bb674b3ef.zip
dev-db/sqlcl-bin: version bump to 22.1.1.131.0820
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/sqlcl-bin')
-rw-r--r--dev-db/sqlcl-bin/Manifest1
-rw-r--r--dev-db/sqlcl-bin/sqlcl-bin-22.1.1.131.0820.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index 79ad5a8b0e6c..b8e7d4fd6625 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
DIST sqlcl-21.4.1.17.1458.zip 39959489 BLAKE2B 95b80c22cf9cc1da018819c14ae61a3829f051d8d4dd832add69bdd3a706090528cbb209508ddbd7c42bfe29c8f38165e03e39674255ef51c38b072cae74ef56 SHA512 a4565dd220e718729d695f7227fee3ee4ed72d0da478bfb7fe8c126b48e4426d5e5dbebf159338042bb572cf7263af81d6013dde6c2dcd576e9bdce67cb9c9c2
+DIST sqlcl-22.1.1.131.0820.zip 40620046 BLAKE2B f09898832eba3ae3f371c7535c589a9cbf83f5caa6a91c4af0df0ad8348819686a633459ff680b58c215bfaf163eb6fc5e9faa00ad128a4cc4309f41986134e8 SHA512 a2af4737dc892676f302869301d1ebbb0fbcf2633e574f75e697abe37d84ba8b70879f85ebe71960c4376f6f17db0752b71358aa563c054fb3a80fd33468136d
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-22.1.1.131.0820.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-22.1.1.131.0820.ebuild
new file mode 100644
index 000000000000..9788f57e0b28
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-22.1.1.131.0820.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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="https://download.oracle.com/otn_software/java/sqldeveloper/${MY_P}.zip"
+RESTRICT="mirror"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="app-arch/unzip"
+RDEPEND="dev-db/oracle-instantclient
+ dev-java/java-config:2
+ >=virtual/jre-11"
+
+S="${WORKDIR}"
+
+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'
+}