summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2020-11-18 17:12:14 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-11-23 15:11:24 +0200
commitd0b64dcf904fe279445d89377f60ae53ef116a81 (patch)
treef2d99ff4e52fdb2bf4d3a7eff6f6982e10bdca39 /dev-db/sqlcl-bin/sqlcl-bin-20.3.0.274.1916.ebuild
parentnet-im/bitlbee-facebook: bump to 1.2.1 (diff)
downloadgentoo-d0b64dcf904fe279445d89377f60ae53ef116a81.tar.gz
gentoo-d0b64dcf904fe279445d89377f60ae53ef116a81.tar.bz2
gentoo-d0b64dcf904fe279445d89377f60ae53ef116a81.zip
dev-db/sqlcl-bin: bump version to 20.3.0.274.1916
Closes: https://bugs.gentoo.org/755281 Package-Manager: Portage-3.0.9, 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/sqlcl-bin-20.3.0.274.1916.ebuild')
-rw-r--r--dev-db/sqlcl-bin/sqlcl-bin-20.3.0.274.1916.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-20.3.0.274.1916.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-20.3.0.274.1916.ebuild
new file mode 100644
index 000000000000..bc18cd9f85e2
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-20.3.0.274.1916.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 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'
+}