summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2017-07-31 19:45:09 +0200
committerEttore Di Giacinto <mudler@gentoo.org>2017-09-04 22:45:03 +0200
commit52192621b0e2d079ae59c54128c569a57ceffa73 (patch)
treee922d3b4b2c751b82bca08a547b74adbf05dd997 /dev-db/sqlcl-bin
parentdev-lang/php: stable 7.0.23 for ia64, bug #629452 (diff)
downloadgentoo-52192621b0e2d079ae59c54128c569a57ceffa73.tar.gz
gentoo-52192621b0e2d079ae59c54128c569a57ceffa73.tar.bz2
gentoo-52192621b0e2d079ae59c54128c569a57ceffa73.zip
dev-db/sqlcl-bin: version bump to 17.2.0.184.1230
Package-Manager: Portage-2.3.6, Repoman-2.3.1 Signed-off-by: Ettore Di Giacinto <mudler@gentoo.org>
Diffstat (limited to 'dev-db/sqlcl-bin')
-rw-r--r--dev-db/sqlcl-bin/Manifest1
-rw-r--r--dev-db/sqlcl-bin/sqlcl-bin-17.2.0.184.1230.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index b2023cafe577..80411893b62e 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1,2 +1,3 @@
+DIST sqlcl-17.2.0.184.1230-no-jre.zip 19805375 SHA256 62ec4348dc44cda1b4622617159a4f9fd7a29fe79864af26fc97555d6093fc23 SHA512 b57fdf46859a92cbecc53c9306d45a30c0fa8dfaaf3d9ecea7611a5344d6a6679b4dbf77c2171fe420c9473f2c55a2a659a0fbbfc07649b7a973d45212914134 WHIRLPOOL 8bde627c6e3474e7a8bd6bd22cc1081866caccdd6ffe3726aeaa5d33735334c04975f632738da1b4c195c9cbbb9eb9909e98f4927bc9aa6fbc3348637a3075db
DIST sqlcl-4.2.0.16.355.0402-no-jre.zip 17784763 SHA256 ef729a01ba1e3c2d4a9ed28bd1a54ca5ec372649f0a52152e33d212d9437e227 SHA512 fe6de53d8d068c91ab8e45d341c4fd3fd6c0faea75b2172db009a8e8783f6d491f794d5da3e038708340268fd18b9eac243fc779277c62d8fda421397e151897 WHIRLPOOL a12ad5b3d0e923ac4fd00ad4d51a25944b1f1ea8a1107b6bcf5cc254cadcf3626d606bbd34a1a4f30469250175febf90585bc2a5208b60c8cb3cb1c5688f12dc
DIST sqlcl-4.2.0.17.097.0719-no-jre.zip 19867780 SHA256 35d2afeb9a298d9b421b9e2d35f224737d7a7bd12167adc0bb33144466b1961c SHA512 76f24d36862bcb364eca6ecb5ce02b6c53d922519fdf06046d7d43a39cb029f25cf5705bea8bd60718100f6ceec72dfb2924860972a1151c672abe10fb4ee5b9 WHIRLPOOL 61bdfb81f079ac214afb04a8cb98a63aca051cb9040f4ab9aa543e33cf6c6cf2a3e004cad6b625fdc7dc5f7d5d1d04fac4a9e63c30c855c42a2aeac80025abf5
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-17.2.0.184.1230.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-17.2.0.184.1230.ebuild
new file mode 100644
index 000000000000..2da7c12ea1eb
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-17.2.0.184.1230.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}"
+}