diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-db/sqlcl-bin/sqlcl-bin-21.1.1.113.1704.ebuild | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-db/sqlcl-bin/sqlcl-bin-21.1.1.113.1704.ebuild')
-rw-r--r-- | dev-db/sqlcl-bin/sqlcl-bin-21.1.1.113.1704.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
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' +} |