summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2023-03-08 08:31:45 +0100
committerViorel Munteanu <ceamac@gentoo.org>2023-04-03 09:30:41 +0300
commit1bfb78d89b83ee051c9480f118ed58ded4729554 (patch)
treef6da0e7bcf2485c6e73bfca9ad1e87e8d623920f /dev-db/sqlcl-bin
parentsys-boot/palo: add git repo to HOMEPAGE (diff)
downloadgentoo-1bfb78d89b83ee051c9480f118ed58ded4729554.tar.gz
gentoo-1bfb78d89b83ee051c9480f118ed58ded4729554.tar.bz2
gentoo-1bfb78d89b83ee051c9480f118ed58ded4729554.zip
dev-db/sqlcl-bin: bump version to 22.4.0.342.1212
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Signed-off-by: Viorel Munteanu <ceamac@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.4.0.342.1212.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index f60cc9fafa81..aeed76c514d9 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
DIST sqlcl-22.2.1.201.1451.zip 41321637 BLAKE2B 21f8d534b3a12356267f0678702373a12baf406a1a31755ce66747c609dd30802e236c7f2b34c18c31224cc2abc07d9447af2c6468d395aad9bf4863df442a52 SHA512 2b114b13e0bfbdcf414febfef7d6ef7b7d4f9a644538b139a177a2d9f0193d6bd2479681529ada5e371ac48d9afc1ff3381e6ab0b099ef70f3db176b0f62a406
+DIST sqlcl-22.4.0.342.1212.zip 39954851 BLAKE2B b324f348d28a50599d762e6c1ea26a7e313d84d9ab03be0ceba5d20d2676b7b15650d9258113b4885050045fc016b3eb1d51efd84a88ca9d35603c5fff15a77f SHA512 a4b9f5b6a6640a11df4f452b54a42d0952b9433e83539c0b0f7be2c2685c9dd7b3c4c34d6d87be2a39531e127199c83ea7cdaaec27a13a6aaa18223fd5b6520d
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild
new file mode 100644
index 000000000000..0bb8a5e75c23
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 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'
+}