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

Collapse All | Expand All

(-)a/dev-db/sqlcl-bin/Manifest (-1 lines)
Lines 1-2 Link Here
1
DIST sqlcl-17.3.0.271.1943-no-jre.zip 19672343 BLAKE2B 976b12f16f206d93f7cc628532d736e13c6cd8e502024b369906695365220a250481a02ab5ef7047b6899743a1bdc751ebcbdb58910cb4f75463be795e265996 SHA512 75e56ab042b34ca3290b07b4d4eb182dcf264a4bb8392f8a6942df7ca7041b1d25dc70d388f0f5ecd03decff22d040cfc3a4d58f0ec656af334ddd6531f5bbb4
2
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
(-)a/dev-db/sqlcl-bin/sqlcl-bin-17.3.0.271.1943.ebuild (-49 lines)
Lines 1-48 Link Here
1
# Copyright 1999-2017 Gentoo Foundation
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}-no-jre.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
}
49
- 

Return to bug 642870