From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D6FA1396D0 for ; Mon, 4 Sep 2017 20:45:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7614EE0DBE; Mon, 4 Sep 2017 20:45:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40B43E0DBE for ; Mon, 4 Sep 2017 20:45:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C97C933BE4E for ; Mon, 4 Sep 2017 20:45:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 460C28DF7 for ; Mon, 4 Sep 2017 20:45:24 +0000 (UTC) From: "Ettore Di Giacinto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ettore Di Giacinto" Message-ID: <1504557903.52192621b0e2d079ae59c54128c569a57ceffa73.mudler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/sqlcl-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/sqlcl-bin/Manifest dev-db/sqlcl-bin/sqlcl-bin-17.2.0.184.1230.ebuild X-VCS-Directories: dev-db/sqlcl-bin/ X-VCS-Committer: mudler X-VCS-Committer-Name: Ettore Di Giacinto X-VCS-Revision: 52192621b0e2d079ae59c54128c569a57ceffa73 X-VCS-Branch: master Date: Mon, 4 Sep 2017 20:45:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4228c5b8-ca5c-49ef-acd3-f16e73a95888 X-Archives-Hash: b1c13739f49327b94c323a00694cca62 commit: 52192621b0e2d079ae59c54128c569a57ceffa73 Author: Marco Genasci gmail com> AuthorDate: Mon Jul 31 17:45:09 2017 +0000 Commit: Ettore Di Giacinto gentoo org> CommitDate: Mon Sep 4 20:45:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52192621 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 gentoo.org> dev-db/sqlcl-bin/Manifest | 1 + dev-db/sqlcl-bin/sqlcl-bin-17.2.0.184.1230.ebuild | 48 +++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest index b2023cafe57..80411893b62 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 00000000000..2da7c12ea1e --- /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}" +}