diff options
author | Marco Genasci <fedeliallalinea@gmail.com> | 2017-11-17 11:55:24 +0100 |
---|---|---|
committer | Ettore Di Giacinto <mudler@gentoo.org> | 2017-11-26 23:24:31 +0100 |
commit | 5851497b0fec7e4464c35b6a7ada059b30f653f0 (patch) | |
tree | 59239f407eea809a490aedbde0f6ab7f3ef400b6 /dev-db | |
parent | app-emulation/genymotion-bin: drop old (diff) | |
download | gentoo-5851497b0fec7e4464c35b6a7ada059b30f653f0.tar.gz gentoo-5851497b0fec7e4464c35b6a7ada059b30f653f0.tar.bz2 gentoo-5851497b0fec7e4464c35b6a7ada059b30f653f0.zip |
dev-db/sqlcl-bin: version bump to 17.3.0.271.1943
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/sqlcl-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-db/sqlcl-bin/sqlcl-bin-17.3.0.271.1943.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest index 838a5e1dd8e0..71539e3775a5 100644 --- a/dev-db/sqlcl-bin/Manifest +++ b/dev-db/sqlcl-bin/Manifest @@ -1 +1,2 @@ DIST sqlcl-17.2.0.184.1230-no-jre.zip 19805375 SHA256 62ec4348dc44cda1b4622617159a4f9fd7a29fe79864af26fc97555d6093fc23 SHA512 b57fdf46859a92cbecc53c9306d45a30c0fa8dfaaf3d9ecea7611a5344d6a6679b4dbf77c2171fe420c9473f2c55a2a659a0fbbfc07649b7a973d45212914134 WHIRLPOOL 8bde627c6e3474e7a8bd6bd22cc1081866caccdd6ffe3726aeaa5d33735334c04975f632738da1b4c195c9cbbb9eb9909e98f4927bc9aa6fbc3348637a3075db +DIST sqlcl-17.3.0.271.1943-no-jre.zip 19672343 SHA256 1fde4252453474a671bc67a90e0e1077d63d804f9ee63c1280d81fa29e1952b0 SHA512 75e56ab042b34ca3290b07b4d4eb182dcf264a4bb8392f8a6942df7ca7041b1d25dc70d388f0f5ecd03decff22d040cfc3a4d58f0ec656af334ddd6531f5bbb4 WHIRLPOOL c7267c61df80e9984e71b8161cd34c8028706614ce0dcb1ff2c7c2424137d65fd90a312106e7e0aafe6c2d36e8e7ce2abbed477aa453b07dd7d6608c8baa3933 diff --git a/dev-db/sqlcl-bin/sqlcl-bin-17.3.0.271.1943.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-17.3.0.271.1943.ebuild new file mode 100644 index 000000000000..2da7c12ea1eb --- /dev/null +++ b/dev-db/sqlcl-bin/sqlcl-bin-17.3.0.271.1943.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-bin}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Oracle SQLcl is the new SQL*Plus" +HOMEPAGE="http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html" +SRC_URI="${MY_P}-no-jre.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() { + eerror "Please go to" + eerror " ${HOMEPAGE}" + eerror "and download" + eerror " Command Line - SQLcl" + eerror " ${SRC_URI}" + eerror "and move it to DISTDIR directory." +} + +src_prepare() { + default + find ./ \( -iname "*.bat" -or -iname "*.exe" \) -exec rm {} + || die "remove files failed" + mv sqlcl/bin/sql sqlcl/bin/"${MY_PN}" || die "rename executable failed" +} + +src_install() { + exeinto "/opt/${MY_PN}/bin/" + doexe "${S}/${MY_PN}/bin/${MY_PN}" + + insinto "/opt/${MY_PN}/lib/" + doins -r "${S}/${MY_PN}/lib/"* + + dosym "${ED%/}/opt/${MY_PN}/bin/${MY_PN}" "/opt/bin/${MY_PN}" +} |