mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-db/oracle-instantclient-sqlplus: cleanup old
Bug: https://bugs.gentoo.org/589146 Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
DIST instantclient-sqlplus-linux-11.2.0.3.0.zip 796570 BLAKE2B 0492185103d5fb36f3acb8f52e937fca35bb8b7308eb9317d43f25f4fbde39f15b8b6de0fc9065d04c809a94731c7c011dcac1daf4e734405d065d9959cf215f SHA512 241d812b3955b11efba7764f463417e79dd973ce7ad0624144e661403b71b1c4fb091c6e42d05759eaf74355dfe432970375064d4018cae9ae67cd1401095460
|
||||
DIST instantclient-sqlplus-linux-11.2.0.4.0.zip 792608 BLAKE2B c3e8f0843700df9f95428b01520400d95076df5e19169f2a79982293e54ce6cc74321de0f34a0e7865d5d29535e38b60bcca127be06343c979a40985bf349012 SHA512 8f5ff27043a036eab038080bbdc056325cc2c197e12de34e74a8da17bf69b44e4fd4200b638881d86fdf1dc1450d8e1d033daaa56386bd2c8784d556ba0093ce
|
||||
DIST instantclient-sqlplus-linux.x64-11.2.0.3.0.zip 837574 BLAKE2B c1f123b68b60f211843af954e33922e46d05ff89ce68e8357a8839e7fce83cccc31ab3f16b87204343376657839fd582fb2c80be3148cc34f2340191ed261526 SHA512 55bbac5e8267a4de2c7f9f6750f0e38dcf7c775bccc2e1e05df7fda9e6ffa7d394776e605980d8b67176acf52ba88f2dcaa959934740a1ca6f91d10b12d14024
|
||||
DIST instantclient-sqlplus-linux.x64-11.2.0.4.0.zip 834491 BLAKE2B 487091d97c0f2ec383018c39a957c8a27b030c4c8754a6c2714237dc875b89b250b47dbd28ca228a98c6199323ddd031452e1cc90c60824fbcca536aa38bff1f SHA512 b7180b5667e604564cf379b9eb55a2fc8994b87cfb993e728b4c1bdd297cab134a55580018429bdbb2b101ebdf8a350bacc1ddf5a30e1cc419092054c79a108b
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib pax-utils
|
||||
|
||||
MY_PLAT_x86="Linux x86"
|
||||
MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip"
|
||||
|
||||
MY_PLAT_amd64="Linux x86-64"
|
||||
MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip"
|
||||
|
||||
DESCRIPTION="Oracle 11g Instant Client: SQL*Plus"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
|
||||
SRC_URI="
|
||||
x86? ( ${MY_A_x86} )
|
||||
amd64? ( ${MY_A_amd64} )
|
||||
"
|
||||
|
||||
LICENSE="OTN"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
RESTRICT="fetch"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
|
||||
|
||||
S="${WORKDIR}"/instantclient_11_2
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/lib*/oracle/${PV}/client/lib*/lib*
|
||||
usr/lib*/oracle/${PV}/client/bin/sqlplus
|
||||
"
|
||||
|
||||
my_arch() {
|
||||
# platform name
|
||||
MY_PLAT=MY_PLAT_${ARCH}
|
||||
export MY_PLAT=${!MY_PLAT}
|
||||
# distfile
|
||||
MY_A=MY_A_${ARCH}
|
||||
export MY_A=${!MY_A}
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
my_arch
|
||||
eerror "Please go to"
|
||||
eerror " ${HOMEPAGE%/*}/index-097480.html"
|
||||
eerror " and download"
|
||||
eerror "Instant Client for ${MY_PLAT}"
|
||||
eerror " SQL*Plus: ${MY_A}"
|
||||
eerror "After downloading, put it in:"
|
||||
eerror " ${DISTDIR}/"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all binaries go here
|
||||
local oracle_home=usr/$(get_libdir)/oracle/${PV}/client
|
||||
into /"${oracle_home}"
|
||||
|
||||
dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname)
|
||||
dobin sqlplus
|
||||
|
||||
insinto /"${oracle_home}"/sqlplus/admin
|
||||
doins glogin.sql
|
||||
|
||||
pax-mark -c "${ED}${oracle_home}"/bin/sqlplus || die
|
||||
|
||||
dosym /"${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
MY_PLAT_x86="Linux x86"
|
||||
MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip"
|
||||
|
||||
MY_PLAT_amd64="Linux x86-64"
|
||||
MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip"
|
||||
|
||||
DESCRIPTION="Oracle 11g Instant Client: SQL*Plus"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
|
||||
SRC_URI="
|
||||
x86? ( ${MY_A_x86} )
|
||||
amd64? ( ${MY_A_amd64} )
|
||||
"
|
||||
|
||||
LICENSE="OTN"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
RESTRICT="fetch"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
|
||||
|
||||
S="${WORKDIR}"/instantclient_11_2
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/lib*/oracle/${PV}/client/lib*/lib*
|
||||
usr/lib*/oracle/${PV}/client/bin/sqlplus
|
||||
"
|
||||
|
||||
my_arch() {
|
||||
# platform name
|
||||
MY_PLAT=MY_PLAT_${ARCH}
|
||||
export MY_PLAT=${!MY_PLAT}
|
||||
# distfile
|
||||
MY_A=MY_A_${ARCH}
|
||||
export MY_A=${!MY_A}
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
my_arch
|
||||
eerror "Please go to"
|
||||
eerror " ${HOMEPAGE%/*}/index-097480.html"
|
||||
eerror " and download"
|
||||
eerror "Instant Client for ${MY_PLAT}"
|
||||
eerror " SQL*Plus: ${MY_A}"
|
||||
eerror "After downloading, put it in:"
|
||||
eerror " ${DISTDIR}/"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all binaries go here
|
||||
local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client
|
||||
into "${oracle_home}"
|
||||
|
||||
dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname)
|
||||
dobin sqlplus
|
||||
|
||||
insinto "${oracle_home}"/sqlplus/admin
|
||||
doins glogin.sql
|
||||
|
||||
dosym "${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils pax-utils
|
||||
|
||||
MY_PLAT_x86="Linux x86"
|
||||
MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip"
|
||||
|
||||
MY_PLAT_amd64="Linux x86-64"
|
||||
MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip"
|
||||
|
||||
DESCRIPTION="Oracle 11g Instant Client: SQL*Plus"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
|
||||
SRC_URI="
|
||||
x86? ( ${MY_A_x86} )
|
||||
amd64? ( ${MY_A_amd64} )
|
||||
"
|
||||
|
||||
LICENSE="OTN"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
RESTRICT="fetch splitdebug"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
|
||||
|
||||
S="${WORKDIR}"/instantclient_11_2
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/lib*/oracle/${PV}/client/lib*/lib*
|
||||
usr/lib*/oracle/${PV}/client/bin/sqlplus
|
||||
"
|
||||
|
||||
my_arch() {
|
||||
# platform name
|
||||
MY_PLAT=MY_PLAT_${ARCH}
|
||||
export MY_PLAT=${!MY_PLAT}
|
||||
# distfile
|
||||
MY_A=MY_A_${ARCH}
|
||||
export MY_A=${!MY_A}
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
my_arch
|
||||
eerror "Please go to"
|
||||
eerror " ${HOMEPAGE%/*}/index-097480.html"
|
||||
eerror " and download"
|
||||
eerror "Instant Client for ${MY_PLAT}"
|
||||
eerror " SQL*Plus: ${MY_A}"
|
||||
eerror "After downloading, put it in:"
|
||||
eerror " ${DISTDIR}/"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all binaries go here
|
||||
local oracle_home=usr/$(get_libdir)/oracle/${PV}/client
|
||||
into /"${oracle_home}"
|
||||
|
||||
dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname)
|
||||
dobin sqlplus
|
||||
|
||||
insinto /"${oracle_home}"/sqlplus/admin
|
||||
doins glogin.sql
|
||||
|
||||
pax-mark -c "${ED}${oracle_home}"/bin/sqlplus || die
|
||||
|
||||
dosym /"${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
|
||||
}
|
||||
Reference in New Issue
Block a user