From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-db/sqlcl-bin/Manifest | 3 ++ dev-db/sqlcl-bin/metadata.xml | 16 ++++++++ dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.ebuild | 48 +++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 dev-db/sqlcl-bin/Manifest create mode 100644 dev-db/sqlcl-bin/metadata.xml create mode 100644 dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.ebuild (limited to 'dev-db/sqlcl-bin') diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest new file mode 100644 index 000000000000..23615f0a34e6 --- /dev/null +++ b/dev-db/sqlcl-bin/Manifest @@ -0,0 +1,3 @@ +DIST sqlcl-17.4.0.354.2224-no-jre.zip 19731560 BLAKE2B 0ee78a39e5be5d2c23a583cf3f4790897d79e1b082036d30a071fa629912e31c3fc3dbb0e873f4013ba6d41c27c8e1d99aff851922202983842cbf09cf1c6b0b SHA512 d03e949755fc3c99661d3b87dc4576fd4cb0edd33fa2b05818bbb26cd6d066d221ad6bcc0fc2f1453a80351b82e5698a193730cbabbf84a55607a118c39b4243 +EBUILD sqlcl-bin-17.4.0.354.2224.ebuild 1107 BLAKE2B f6935a3f432d72fad4346f06d4f64bbf687d8602bae2876db09b2e1b88db82d4d62aafa2b1ea0d86ca7622b7de495e08af487c05191ed84e0ef8854136494e7d SHA512 adf1788e0125a26caddacd7903d583272d1c6b6746a588bc8bcc76aeb7328c30985c309c339279bfe79cd2073e635ec3afb0d55d42fe69d3158af53140def9cf +MISC metadata.xml 483 BLAKE2B 1ed85dae79388f3c548163e5fafd2838e1adf9bfc9a9c793ce7f9e7e323f8e3c9e7e2f3190b3ec54a0c598d048c61b6ad67c8eefb3845cd446ea67b01e0df8a8 SHA512 e88ad9fd8c20d5be5569c64544c3f4dd72eb3243d46333c30aaa1b939eb6ce35855aa3e771008b2fff990de5b2e5bf79ca378714e3cf7dc375144b7cd8f5649c diff --git a/dev-db/sqlcl-bin/metadata.xml b/dev-db/sqlcl-bin/metadata.xml new file mode 100644 index 000000000000..0a47874eaf48 --- /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-17.4.0.354.2224.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.ebuild new file mode 100644 index 000000000000..2da7c12ea1eb --- /dev/null +++ b/dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.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}" +} -- cgit v1.2.3