diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-03 11:20:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-03 11:20:10 +0100 |
commit | 7837a76c344b64e925519dd5e26233bb3b648beb (patch) | |
tree | 6851e50315ad02bb7a8a172f318905eca39313ec /dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild | |
parent | 155cc74ccaea367efa88c8acfadcf25cb7dfe89c (diff) |
gentoo auto-resync : 03:04:2023 - 11:20:10
Diffstat (limited to 'dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild')
-rw-r--r-- | dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild new file mode 100644 index 000000000000..0bb8a5e75c23 --- /dev/null +++ b/dev-db/sqlcl-bin/sqlcl-bin-22.4.0.342.1212.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 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' +} |