summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2020-08-10 08:27:07 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-09-15 17:11:16 +0300
commit14dfc224992a7a898b64c04006b5edfcdb9d6665 (patch)
tree4cb86aad3ae64fe898457e0e0554175fd43233e0 /dev-db/sqlcl-bin
parentapp-emulation/genymotion-bin: removed old (diff)
downloadgentoo-14dfc224992a7a898b64c04006b5edfcdb9d6665.tar.gz
gentoo-14dfc224992a7a898b64c04006b5edfcdb9d6665.tar.bz2
gentoo-14dfc224992a7a898b64c04006b5edfcdb9d6665.zip
dev-db/sqlcl-bin: bump version to 20.2.0.174.1557
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Bug: https://bugs.gentoo.org/737682 Signed-off-by: Joonas Niilola <juippis@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-20.2.0.174.1557.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest
index 9278196af87f..c8678c65c090 100644
--- a/dev-db/sqlcl-bin/Manifest
+++ b/dev-db/sqlcl-bin/Manifest
@@ -1 +1,2 @@
DIST sqlcl-19.4.0.354.0937.zip 25303986 BLAKE2B de33e7eee05325dc1a750bd1ef5b6a2e3e074d532097e35f8db67636afc0a3f79302e0d64866011bea1c41bb64c8b9983965b756f4f76731720b1da4824c360f SHA512 b729010a58c3eedcd168602b623bbf4b988ec5b76768cc98b8f9dd8cb3a47a62ec565ae8060dbce826f340d78a185f30fe2a0e7ce420cbfc47f6ed542cbe6ec8
+DIST sqlcl-20.2.0.174.1557.zip 32408164 BLAKE2B c91547af6581b01b5b33821e33fd8058457746c854ebc801fd27a5554eb7f91c4f47fa938a86121abed4e5ec8aa13fbebf0b0c3364101a374f7086a55268e73a SHA512 4a6d62f57ddb8e520bf51eae4956065fb2b44aac6dc18d7999e50f8b42d553218eaaf99c75095c12d06e1673aae224522564d19a06719b2444ef8d535fedd089
diff --git a/dev-db/sqlcl-bin/sqlcl-bin-20.2.0.174.1557.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-20.2.0.174.1557.ebuild
new file mode 100644
index 000000000000..5ecd22f27f32
--- /dev/null
+++ b/dev-db/sqlcl-bin/sqlcl-bin-20.2.0.174.1557.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/-bin}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Oracle SQLcl is the new SQL*Plus"
+HOMEPAGE="https://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html"
+SRC_URI="${MY_P}.zip"
+RESTRICT="bindist fetch mirror"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="app-arch/unzip"
+RDEPEND="dev-db/oracle-instantclient
+ dev-java/java-config:2
+ virtual/jre:1.8"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ einfo "Please go to"
+ einfo
+ einfo " ${HOMEPAGE}"
+ einfo
+ einfo "and download"
+ einfo
+ einfo " Command Line - SQLcl"
+ einfo " ${SRC_URI}"
+ einfo
+ einfo "which must be placed in DISTDIR directory."
+}
+
+src_prepare() {
+ default
+ find ./ \( -iname "*.bat" -or -iname "*.exe" \) -delete || die "remove files failed"
+}
+
+src_install() {
+ exeinto "/opt/${MY_PN}/bin/"
+ newexe "${MY_PN}"/bin/sql sqlcl
+
+ insinto "/opt/${MY_PN}/lib/"
+ doins -r "${MY_PN}"/lib/.
+
+ dosym "../${MY_PN}/bin/sqlcl" /opt/bin/sqlcl
+}