summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2021-08-23 17:48:15 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-09-02 09:53:03 +0300
commit6b6b1727bc17e5c697a19b3c8a3e6ead2c99e56e (patch)
tree090f718084f88fe041ff818fc05937dd84579c16 /dev-db
parentsys-libs/libseccomp: Bump to version 2.5.2 (diff)
downloadgentoo-6b6b1727bc17e5c697a19b3c8a3e6ead2c99e56e.tar.gz
gentoo-6b6b1727bc17e5c697a19b3c8a3e6ead2c99e56e.tar.bz2
gentoo-6b6b1727bc17e5c697a19b3c8a3e6ead2c99e56e.zip
dev-db/sqlcl-bin: bump version to 21.2.2.223.0914
Closes: https://bugs.gentoo.org/809824 Package-Manager: Portage-3.0.20, Repoman-3.0.3 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-21.2.2.223.0914.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index a503549af7bd..3d7fba8cae1a 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
DIST sqlcl-21.2.0.174.2245.zip 37572475 BLAKE2B 331319acfdba2e09b31ba5f7e01549a37bb4226487487afcb5afe2bf8f933481c1131d8f4821f668cb5b13ff7f14866097565562ad383e09b23c7b2302670abf SHA512 410614af0acde54bc9fbacb0c2168fe049baccca0d3dbf7e9940176abd90250705aac92a69e09dd9c8854b124dab399bb36bbb381156724528e830ce897f022e
+DIST sqlcl-21.2.2.223.0914.zip 37581478 BLAKE2B 098988e17b9f347e4ce6142626174565543e701ad22f8dccb2260b4b1b8f74cd12a0c3824790e403a7dc359e329026eb83a656fde8b49e5317b70813b3fc4b07 SHA512 c5fc99095b731f2f4dc52e01a2a6974fb01d655a4d862a0b89594921183c4019bf9c07562d9f7307af5686770b19c1277e47562c6ae6786530561e13b9fd27b3
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-21.2.2.223.0914.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-21.2.2.223.0914.ebuild
new file mode 100644
index 000000000000..4abb49d13644
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-21.2.2.223.0914.ebuild
@@ -0,0 +1,33 @@
+# 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="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-1.8"
+
+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'
+}