dev-db/sqlcl-bin: Bump to version 4.2.0.17.097.0719

Package-Manager: Portage-2.3.3, Repoman-2.3.1

Signed-off-by: Ettore Di Giacinto <mudler@gentoo.org>
This commit is contained in:
Marco Genasci
2017-04-26 13:11:58 +02:00
committed by Ettore Di Giacinto
parent 7df222b7c2
commit e76b4bff62
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sqlcl-4.2.0.16.355.0402-no-jre.zip 17784763 SHA256 ef729a01ba1e3c2d4a9ed28bd1a54ca5ec372649f0a52152e33d212d9437e227 SHA512 fe6de53d8d068c91ab8e45d341c4fd3fd6c0faea75b2172db009a8e8783f6d491f794d5da3e038708340268fd18b9eac243fc779277c62d8fda421397e151897 WHIRLPOOL a12ad5b3d0e923ac4fd00ad4d51a25944b1f1ea8a1107b6bcf5cc254cadcf3626d606bbd34a1a4f30469250175febf90585bc2a5208b60c8cb3cb1c5688f12dc
DIST sqlcl-4.2.0.17.097.0719-no-jre.zip 19867780 SHA256 35d2afeb9a298d9b421b9e2d35f224737d7a7bd12167adc0bb33144466b1961c SHA512 76f24d36862bcb364eca6ecb5ce02b6c53d922519fdf06046d7d43a39cb029f25cf5705bea8bd60718100f6ceec72dfb2924860972a1151c672abe10fb4ee5b9 WHIRLPOOL 61bdfb81f079ac214afb04a8cb98a63aca051cb9040f4ab9aa543e33cf6c6cf2a3e004cad6b625fdc7dc5f7d5d1d04fac4a9e63c30c855c42a2aeac80025abf5

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PN="${PN/-bin}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Oracle SQLcl is the new SQL*Plus"
HOMEPAGE="http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html"
SRC_URI="${MY_P}-no-jre.zip"
RESTRICT="bindist fetch mirror"
LICENSE="OTN"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="virtual/jre:1.8
dev-java/java-config:2
dev-db/oracle-instantclient"
S="${WORKDIR}"
pkg_nofetch() {
eerror "Please go to"
eerror " ${HOMEPAGE}"
eerror "and download"
eerror " Command Line - SQLcl"
eerror " ${SRC_URI}"
eerror "and move it to DISTDIR directory."
}
src_prepare() {
default
find ./ \( -iname "*.bat" -or -iname "*.exe" \) -exec rm {} + || die "remove files failed"
mv sqlcl/bin/sql sqlcl/bin/"${MY_PN}" || die "rename executable failed"
}
src_install() {
exeinto "/opt/${MY_PN}/bin/"
doexe "${S}/${MY_PN}/bin/${MY_PN}"
insinto "/opt/${MY_PN}/lib/"
doins -r "${S}/${MY_PN}/lib/"*
dosym "${ED%/}/opt/${MY_PN}/bin/${MY_PN}" "/opt/bin/${MY_PN}"
}