summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2022-08-21 18:21:47 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-09-05 15:37:13 +0300
commit8a6a15d00c9506d6d530514cc7b31bdcbfbf6fdd (patch)
treefaf2a26c9f80bd0bc3672b45560175b913c2af26 /dev-db
parentapp-shells/peco: version bump to 0.5.10, fix #844379 (EGO_SUM) (diff)
downloadgentoo-8a6a15d00c9506d6d530514cc7b31bdcbfbf6fdd.tar.gz
gentoo-8a6a15d00c9506d6d530514cc7b31bdcbfbf6fdd.tar.bz2
gentoo-8a6a15d00c9506d6d530514cc7b31bdcbfbf6fdd.zip
dev-db/sqlcl-bin: version bump to 22.2.1.201.1451
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/sqlcl-bin/Manifest1
-rw-r--r--dev-db/sqlcl-bin/sqlcl-bin-22.2.1.201.1451.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index c5d4405608a7..07808f3f4781 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
DIST sqlcl-22.2.0.172.1718.zip 41321573 BLAKE2B 43e5413a07de69f5cddad8825b71957c44f0e9f6126f05206b9c3528fb66fa91fe1097eab57c76b9e733c55651444b4f1b9c7bc1c30c0e33fc3df20026272878 SHA512 107c40074b3bc1e73cc174fd5758140cedb652447c2adaecc3f4820f0a777ce1c43c16fe9551a1516245008f3a5ee74404a5da2d424e6e9d63db127e71492514
+DIST sqlcl-22.2.1.201.1451.zip 41321637 BLAKE2B 21f8d534b3a12356267f0678702373a12baf406a1a31755ce66747c609dd30802e236c7f2b34c18c31224cc2abc07d9447af2c6468d395aad9bf4863df442a52 SHA512 2b114b13e0bfbdcf414febfef7d6ef7b7d4f9a644538b139a177a2d9f0193d6bd2479681529ada5e371ac48d9afc1ff3381e6ab0b099ef70f3db176b0f62a406
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-22.2.1.201.1451.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-22.2.1.201.1451.ebuild
new file mode 100644
index 000000000000..9788f57e0b28
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-22.2.1.201.1451.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'
+}