summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2022-06-30 20:27:38 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-07-05 12:47:12 +0300
commitd0538f15a4993e4c5349b70a64e3ee2919741f5e (patch)
tree5696202114b9fce9acdc89504f1489feb0f3ff50 /dev-db
parentnet-im/mattermost-desktop-bin: drop 5.1.0 (diff)
downloadgentoo-d0538f15a4993e4c5349b70a64e3ee2919741f5e.tar.gz
gentoo-d0538f15a4993e4c5349b70a64e3ee2919741f5e.tar.bz2
gentoo-d0538f15a4993e4c5349b70a64e3ee2919741f5e.zip
dev-db/sqlcl-bin: bump version to 22.2.0.172.1718
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.0.172.1718.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index 5705c6590a20..43dce0554c2d 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
DIST sqlcl-22.1.1.131.0820.zip 40620046 BLAKE2B f09898832eba3ae3f371c7535c589a9cbf83f5caa6a91c4af0df0ad8348819686a633459ff680b58c215bfaf163eb6fc5e9faa00ad128a4cc4309f41986134e8 SHA512 a2af4737dc892676f302869301d1ebbb0fbcf2633e574f75e697abe37d84ba8b70879f85ebe71960c4376f6f17db0752b71358aa563c054fb3a80fd33468136d
+DIST sqlcl-22.2.0.172.1718.zip 41321573 BLAKE2B 43e5413a07de69f5cddad8825b71957c44f0e9f6126f05206b9c3528fb66fa91fe1097eab57c76b9e733c55651444b4f1b9c7bc1c30c0e33fc3df20026272878 SHA512 107c40074b3bc1e73cc174fd5758140cedb652447c2adaecc3f4820f0a777ce1c43c16fe9551a1516245008f3a5ee74404a5da2d424e6e9d63db127e71492514
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-22.2.0.172.1718.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-22.2.0.172.1718.ebuild
new file mode 100644
index 000000000000..9788f57e0b28
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-22.2.0.172.1718.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'
+}