summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2021-05-11 20:37:22 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-06-02 15:59:04 +0300
commite4537c4771a4f7518342865ae6aa5e6cbe03146e (patch)
tree64f2ef238fd252fee8edbce4942474054dc7b776 /dev-db/sqlcl-bin
parentsci-physics/bullet: bump to 3.17 (diff)
downloadgentoo-e4537c4771a4f7518342865ae6aa5e6cbe03146e.tar.gz
gentoo-e4537c4771a4f7518342865ae6aa5e6cbe03146e.tar.bz2
gentoo-e4537c4771a4f7518342865ae6aa5e6cbe03146e.zip
dev-db/sqlcl-bin: bump version to 21.1.1.113.1704
Closes: https://bugs.gentoo.org/789495 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Signed-off-by: Joonas Niilola <juippis@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-21.1.1.113.1704.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index b2eb8ee92b7f..a95829795bf1 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
DIST sqlcl-20.4.2.35.2359.zip 36343222 BLAKE2B 138b4867a785e3b76dfb0e9eae51bab80d64d5136ed8ecc582e2bb119a8818c7cf442019311221cc02440643acf3ffe8e36658a3b1622e71badd49e2f4e3db7c SHA512 9e3887c7c59d489567a761c9b81c4ed6fced4cc1a23286ae39c956e4280996b12fc6e9ebd69c32fdfe3f0c2755dc087d5e18f99a2175d9de8d474c41ee8a17ed
+DIST sqlcl-21.1.1.113.1704.zip 36960602 BLAKE2B b44d5679a92dbc74d42da3c00f9e37ec4fe5a9bc1e803bb32cdd3f88d2adaeecee05b8264de2a39ea8ee999b301f0ec3d2e56e5243326fb9bc9b8fc837453c7d SHA512 ae42c2ac9e13d6dbe4a3fc7653fae765a24ef7e80c06a1eb2213b2cd0df92774a7dd39f74b8f04bf188e4b8c5bd11001f5db3b9f5a78f1e5c847ad2df0c6256d
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-21.1.1.113.1704.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-21.1.1.113.1704.ebuild
new file mode 100644
index 000000000000..ab45e758fa33
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-21.1.1.113.1704.ebuild
@@ -0,0 +1,46 @@
+# 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="${MY_P}.zip"
+RESTRICT="bindist fetch 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}"
+
+pkg_nofetch() {
+ einfo "Please go to"
+ einfo
+ einfo " ${HOMEPAGE}"
+ einfo
+ einfo "and download"
+ einfo
+ einfo " Command Line - SQLcl"
+ einfo " ${SRC_URI}"
+ einfo
+ einfo "which must be placed in DISTDIR directory."
+}
+
+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'
+}