commit:     b07ec502aeb892f3d0559e2f3a1a0a6baae0db52
Author:     Marco Genasci <fedeliallalinea <AT> gmail <DOT> com>
AuthorDate: Thu May 16 08:18:47 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 18:07:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07ec502

dev-db/sqlcl-bin: bump to version 19.1.0.094.1619

Bug: https://bugs.gentoo.org/671606
Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-db/sqlcl-bin/Manifest                         |  1 +
 dev-db/sqlcl-bin/sqlcl-bin-19.1.0.094.1619.ebuild | 51 +++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index 39368202cd8..aa79883dbb5 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
 DIST sqlcl-17.4.0.354.2224-no-jre.zip 19731560 BLAKE2B 
0ee78a39e5be5d2c23a583cf3f4790897d79e1b082036d30a071fa629912e31c3fc3dbb0e873f4013ba6d41c27c8e1d99aff851922202983842cbf09cf1c6b0b
 SHA512 
d03e949755fc3c99661d3b87dc4576fd4cb0edd33fa2b05818bbb26cd6d066d221ad6bcc0fc2f1453a80351b82e5698a193730cbabbf84a55607a118c39b4243
+DIST sqlcl-19.1.0.094.1619.zip 21886970 BLAKE2B 
adf3e70521eb38b1504a384512b2c92222121084e27e98952d0f493d74fff63d6f24c00e9f1ed025cccef3305cdc47acecde604575a63221b4fedf38fa6e1885
 SHA512 
1d04fc7e1a9229badafeea54489db5c6ee8b3d720d84687cbdf761232388e624ac66d0ae59de99e833ae36eb3d5287d1ea556d09aad855d75b674186c55ed9a8

diff --git a/dev-db/sqlcl-bin/sqlcl-bin-19.1.0.094.1619.ebuild 
b/dev-db/sqlcl-bin/sqlcl-bin-19.1.0.094.1619.ebuild
new file mode 100644
index 00000000000..140d82c8526
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-19.1.0.094.1619.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Oracle SQLcl is the new SQL*Plus"
+HOMEPAGE="https://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html";
+SRC_URI="${MY_P}.zip"
+RESTRICT="bindist fetch mirror"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="virtual/jre:1.8
+       dev-java/java-config:2
+       dev-db/oracle-instantclient"
+
+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_prepare() {
+       default
+       find ./ \( -iname "*.bat" -or -iname "*.exe" \) -delete || die "remove 
files failed"
+}
+
+src_install() {
+       exeinto "/opt/${MY_PN}/bin/"
+       newexe "${MY_PN}"/bin/sql sqlcl
+
+       insinto "/opt/${MY_PN}/lib/"
+       doins -r "${MY_PN}"/lib/.
+
+       dosym "../${MY_PN}/bin/sqlcl" /opt/bin/sqlcl
+}

Reply via email to