1 |
commit: 8324783fb766a08e4f57a5490e4574152c13e2ae |
2 |
Author: Marco Genasci <fedeliallalinea <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jan 3 07:28:32 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 3 08:18:21 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8324783f |
7 |
|
8 |
dev-db/sqlcl-bin: version bump to 17.4.0.354.2224 |
9 |
|
10 |
dev-db/sqlcl-bin/Manifest | 3 +- |
11 |
dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.ebuild | 48 +++++++++++++++++++++++ |
12 |
2 files changed, 50 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest |
15 |
index 9e91e6dfe48..40d3ff439a5 100644 |
16 |
--- a/dev-db/sqlcl-bin/Manifest |
17 |
+++ b/dev-db/sqlcl-bin/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
-DIST sqlcl-17.3.0.271.1943-no-jre.zip 19672343 SHA256 1fde4252453474a671bc67a90e0e1077d63d804f9ee63c1280d81fa29e1952b0 SHA512 75e56ab042b34ca3290b07b4d4eb182dcf264a4bb8392f8a6942df7ca7041b1d25dc70d388f0f5ecd03decff22d040cfc3a4d58f0ec656af334ddd6531f5bbb4 WHIRLPOOL c7267c61df80e9984e71b8161cd34c8028706614ce0dcb1ff2c7c2424137d65fd90a312106e7e0aafe6c2d36e8e7ce2abbed477aa453b07dd7d6608c8baa3933 |
20 |
+DIST sqlcl-17.3.0.271.1943-no-jre.zip 19672343 BLAKE2B 976b12f16f206d93f7cc628532d736e13c6cd8e502024b369906695365220a250481a02ab5ef7047b6899743a1bdc751ebcbdb58910cb4f75463be795e265996 SHA512 75e56ab042b34ca3290b07b4d4eb182dcf264a4bb8392f8a6942df7ca7041b1d25dc70d388f0f5ecd03decff22d040cfc3a4d58f0ec656af334ddd6531f5bbb4 |
21 |
+DIST sqlcl-17.4.0.354.2224-no-jre.zip 19731560 BLAKE2B 0ee78a39e5be5d2c23a583cf3f4790897d79e1b082036d30a071fa629912e31c3fc3dbb0e873f4013ba6d41c27c8e1d99aff851922202983842cbf09cf1c6b0b SHA512 d03e949755fc3c99661d3b87dc4576fd4cb0edd33fa2b05818bbb26cd6d066d221ad6bcc0fc2f1453a80351b82e5698a193730cbabbf84a55607a118c39b4243 |
22 |
|
23 |
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 |
24 |
new file mode 100644 |
25 |
index 00000000000..2da7c12ea1e |
26 |
--- /dev/null |
27 |
+++ b/dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.ebuild |
28 |
@@ -0,0 +1,48 @@ |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+MY_PN="${PN/-bin}" |
35 |
+MY_P="${MY_PN}-${PV}" |
36 |
+ |
37 |
+DESCRIPTION="Oracle SQLcl is the new SQL*Plus" |
38 |
+HOMEPAGE="http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html" |
39 |
+SRC_URI="${MY_P}-no-jre.zip" |
40 |
+RESTRICT="bindist fetch mirror" |
41 |
+ |
42 |
+LICENSE="OTN" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+ |
46 |
+DEPEND="" |
47 |
+RDEPEND="virtual/jre:1.8 |
48 |
+ dev-java/java-config:2 |
49 |
+ dev-db/oracle-instantclient" |
50 |
+ |
51 |
+S="${WORKDIR}" |
52 |
+ |
53 |
+pkg_nofetch() { |
54 |
+ eerror "Please go to" |
55 |
+ eerror " ${HOMEPAGE}" |
56 |
+ eerror "and download" |
57 |
+ eerror " Command Line - SQLcl" |
58 |
+ eerror " ${SRC_URI}" |
59 |
+ eerror "and move it to DISTDIR directory." |
60 |
+} |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ find ./ \( -iname "*.bat" -or -iname "*.exe" \) -exec rm {} + || die "remove files failed" |
65 |
+ mv sqlcl/bin/sql sqlcl/bin/"${MY_PN}" || die "rename executable failed" |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ exeinto "/opt/${MY_PN}/bin/" |
70 |
+ doexe "${S}/${MY_PN}/bin/${MY_PN}" |
71 |
+ |
72 |
+ insinto "/opt/${MY_PN}/lib/" |
73 |
+ doins -r "${S}/${MY_PN}/lib/"* |
74 |
+ |
75 |
+ dosym "${ED%/}/opt/${MY_PN}/bin/${MY_PN}" "/opt/bin/${MY_PN}" |
76 |
+} |