Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 671606 | Differences between
and this patch

Collapse All | Expand All

(-)a/dev-db/sqlcl-bin/Manifest (+1 lines)
Line 1 Link Here
1
DIST sqlcl-17.4.0.354.2224-no-jre.zip 19731560 BLAKE2B 0ee78a39e5be5d2c23a583cf3f4790897d79e1b082036d30a071fa629912e31c3fc3dbb0e873f4013ba6d41c27c8e1d99aff851922202983842cbf09cf1c6b0b SHA512 d03e949755fc3c99661d3b87dc4576fd4cb0edd33fa2b05818bbb26cd6d066d221ad6bcc0fc2f1453a80351b82e5698a193730cbabbf84a55607a118c39b4243
1
DIST sqlcl-17.4.0.354.2224-no-jre.zip 19731560 BLAKE2B 0ee78a39e5be5d2c23a583cf3f4790897d79e1b082036d30a071fa629912e31c3fc3dbb0e873f4013ba6d41c27c8e1d99aff851922202983842cbf09cf1c6b0b SHA512 d03e949755fc3c99661d3b87dc4576fd4cb0edd33fa2b05818bbb26cd6d066d221ad6bcc0fc2f1453a80351b82e5698a193730cbabbf84a55607a118c39b4243
2
DIST sqlcl-18.3.0.259.2029.zip 21120590 BLAKE2B 55ca1b43b98d07c008ded508fb126cd5f4330dab27dd37cf34995f2ec877c63fac84e9bcf4b5b324f9836f04c43c35c2d0c6266100f74be07226234360421f93 SHA512 bb20c9e1fba5e506f6f6e75eff2347ed87614b2065eb5fb66d453af20bd34e958d6d48a1c4126d77c1c59f325ac9df57cc3cdf56305114c9a1849699de4d0f83
(-)a/dev-db/sqlcl-bin/sqlcl-bin-18.3.0.259.2029.ebuild (-1 / +48 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2018 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=6
5
6
MY_PN="${PN/-bin}"
7
MY_P="${MY_PN}-${PV}"
8
9
DESCRIPTION="Oracle SQLcl is the new SQL*Plus"
10
HOMEPAGE="http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html"
11
SRC_URI="${MY_P}.zip"
12
RESTRICT="bindist fetch mirror"
13
14
LICENSE="OTN"
15
SLOT="0"
16
KEYWORDS="~amd64 ~x86"
17
18
DEPEND=""
19
RDEPEND="virtual/jre:1.8
20
	dev-java/java-config:2
21
	dev-db/oracle-instantclient"
22
23
S="${WORKDIR}"
24
25
pkg_nofetch() {
26
	eerror "Please go to"
27
	eerror "	${HOMEPAGE}"
28
	eerror "and download"
29
	eerror "	Command Line - SQLcl"
30
	eerror "		${SRC_URI}"
31
	eerror "and move it to DISTDIR directory."
32
}
33
34
src_prepare() {
35
	default
36
	find ./ \( -iname "*.bat" -or -iname "*.exe" \) -exec rm {} + || die "remove files failed"
37
	mv sqlcl/bin/sql sqlcl/bin/"${MY_PN}" || die "rename executable failed"
38
}
39
40
src_install() {
41
	exeinto "/opt/${MY_PN}/bin/"
42
	doexe "${S}/${MY_PN}/bin/${MY_PN}"
43
44
	insinto "/opt/${MY_PN}/lib/"
45
	doins -r "${S}/${MY_PN}/lib/"*
46
47
	dosym "${ED%/}/opt/${MY_PN}/bin/${MY_PN}" "/opt/bin/${MY_PN}"
48
}

Return to bug 671606