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 63327139694 for ; Wed, 22 Feb 2017 11:33:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 919E6E0C9E; Wed, 22 Feb 2017 11:33:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 637E9E0C9E for ; Wed, 22 Feb 2017 11:33:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9717834108B for ; Wed, 22 Feb 2017 11:33:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE40F5097 for ; Wed, 22 Feb 2017 11:33:25 +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: <1487763098.c28a999a9644e07adc6c89df5eabd5d47e46c89f.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/metadata.xml dev-db/sqlcl-bin/sqlcl-bin-4.2.0.16.355.0402.ebuild X-VCS-Directories: dev-db/sqlcl-bin/ X-VCS-Committer: mudler X-VCS-Committer-Name: Ettore Di Giacinto X-VCS-Revision: c28a999a9644e07adc6c89df5eabd5d47e46c89f X-VCS-Branch: master Date: Wed, 22 Feb 2017 11:33:25 +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: 57603442-11ff-4da3-9ff7-8abe7deae199 X-Archives-Hash: f1969bee64acbec7b9d20dfce39378a7 commit: c28a999a9644e07adc6c89df5eabd5d47e46c89f Author: Marco Genasci gmail com> AuthorDate: Wed Jan 25 19:55:38 2017 +0000 Commit: Ettore Di Giacinto gentoo org> CommitDate: Wed Feb 22 11:31:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c28a999a dev-db/sqlcl-bin: new package, version 4.2.0.16.355.0402 bug #610410 Package-Manager: portage-2.3.0 Signed-off-by: Ettore Di Giacinto gentoo.org> dev-db/sqlcl-bin/Manifest | 1 + dev-db/sqlcl-bin/metadata.xml | 16 +++++++ .../sqlcl-bin/sqlcl-bin-4.2.0.16.355.0402.ebuild | 49 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest new file mode 100644 index 0000000000..5efb5fa780 --- /dev/null +++ b/dev-db/sqlcl-bin/Manifest @@ -0,0 +1 @@ +DIST sqlcl-4.2.0.16.355.0402-no-jre.zip 17784763 SHA256 ef729a01ba1e3c2d4a9ed28bd1a54ca5ec372649f0a52152e33d212d9437e227 SHA512 fe6de53d8d068c91ab8e45d341c4fd3fd6c0faea75b2172db009a8e8783f6d491f794d5da3e038708340268fd18b9eac243fc779277c62d8fda421397e151897 WHIRLPOOL a12ad5b3d0e923ac4fd00ad4d51a25944b1f1ea8a1107b6bcf5cc254cadcf3626d606bbd34a1a4f30469250175febf90585bc2a5208b60c8cb3cb1c5688f12dc diff --git a/dev-db/sqlcl-bin/metadata.xml b/dev-db/sqlcl-bin/metadata.xml new file mode 100644 index 0000000000..0a47874eaf --- /dev/null +++ b/dev-db/sqlcl-bin/metadata.xml @@ -0,0 +1,16 @@ + + + + + fedeliallalinea@gmail.com + Marco Genasci + + + mudler@gentoo.org + Ettore Di Giacinto + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-db/sqlcl-bin/sqlcl-bin-4.2.0.16.355.0402.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-4.2.0.16.355.0402.ebuild new file mode 100644 index 0000000000..f77d1bbdfc --- /dev/null +++ b/dev-db/sqlcl-bin/sqlcl-bin-4.2.0.16.355.0402.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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}" +} + +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}" +}