summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2021-01-20 15:35:14 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-02-01 15:22:47 +0200
commitbf8fb7a3246478b834ddfcbd44a17089442a13f5 (patch)
tree5144b6f546e118458713bd3b9005ece1b5d12184 /dev-db
parentsys-fs/compsize: fix LICENSE (diff)
downloadgentoo-bf8fb7a3246478b834ddfcbd44a17089442a13f5.tar.gz
gentoo-bf8fb7a3246478b834ddfcbd44a17089442a13f5.tar.bz2
gentoo-bf8fb7a3246478b834ddfcbd44a17089442a13f5.zip
dev-db/sqlcl-bin: bump version to 20.4.1.351.1718
Closes: https://bugs.gentoo.org/766276 Package-Manager: Portage-3.0.13, 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')
-rw-r--r--dev-db/sqlcl-bin/Manifest1
-rw-r--r--dev-db/sqlcl-bin/sqlcl-bin-20.4.1.351.1718.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index da25fca4d9d1..c788ed7c80a9 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
DIST sqlcl-20.3.0.274.1916.zip 36309483 BLAKE2B 10051c6880da74a2803c3dedef4ff397eecfc92fb57ca3a7432d32041a2a255ce30cd4b69d242bcea182a30c200b89105fff40c0419cac371c99dfaee192b18c SHA512 b170bfb5ed31ccbf69b75f1ec7c2b292cb8d0bc70c8489ee6c42c288b54153ef8b8b2e4e0511dac1522d9b6cd161f66adc50d85574e8e8f3b7802d3a9f91a70b
+DIST sqlcl-20.4.1.351.1718.zip 36694031 BLAKE2B e2c3548676223891afdf346ed5e9e3150557251e017cc6b13709f00998113a9fe44d20fa5e5969b7c4671c88b9daec77dc7f730437e1be71fd93f1f542a7c4d5 SHA512 14efb04f87da6b3e93edbc654164ee25fe8258bcc5ba91ff2e42e10d036e493e0e65c2e82795ba7ac93055af7d2d923e35573e63dbd3f22c2241bd3041c3e56d
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-20.4.1.351.1718.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-20.4.1.351.1718.ebuild
new file mode 100644
index 000000000000..ab45e758fa33
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-20.4.1.351.1718.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'
+}