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-19.1.0.094.1619.zip 21886970 BLAKE2B adf3e70521eb38b1504a384512b2c92222121084e27e98952d0f493d74fff63d6f24c00e9f1ed025cccef3305cdc47acecde604575a63221b4fedf38fa6e1885 SHA512 1d04fc7e1a9229badafeea54489db5c6ee8b3d720d84687cbdf761232388e624ac66d0ae59de99e833ae36eb3d5287d1ea556d09aad855d75b674186c55ed9a8
(-)a/dev-db/sqlcl-bin/sqlcl-bin-19.1.0.094.1619.ebuild (-1 / +48 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
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