diff options
3 files changed, 83 insertions, 0 deletions
diff --git a/dev-db/oracle-instantclient-sqlplus/Manifest b/dev-db/oracle-instantclient-sqlplus/Manifest new file mode 100644 index 0000000..56ed183 --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/Manifest @@ -0,0 +1,9 @@ +DIST instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884 RMD160 0f483aed1a64f22b1a46d05942e51213c2ba7234 SHA1 bf99c65de7483fa8bd60a7a1531529fcc3922eeb SHA256 8dcc95e3bf5723a7b1d6deccce049490bc70d99c0b9ac6ef13320b6b426303f6 +DIST instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699 RMD160 31e5346bbc6f597d69d6449bca8292c78c049ad0 SHA1 646a9bc3170ccac26048978ee94e7a6e33937652 SHA256 aad12fd25a234fec76d672f7993911b9f267732b7bf244d76f44bc212edbd76a +EBUILD oracle-instantclient-sqlplus-10.2.0.3.ebuild 2019 RMD160 9ad4aa6300701aa3d6e977eada7139930096462f SHA1 aca1312d9ee0720b01f214e4565af0f602e1f74d SHA256 a7267b9af404e0ce33def05dfbb0e0c85bb2ffd39dab29e643df84be3629b86f +MD5 303b37d7492a0fc983665a526f46572d oracle-instantclient-sqlplus-10.2.0.3.ebuild 2019 +RMD160 9ad4aa6300701aa3d6e977eada7139930096462f oracle-instantclient-sqlplus-10.2.0.3.ebuild 2019 +SHA256 a7267b9af404e0ce33def05dfbb0e0c85bb2ffd39dab29e643df84be3629b86f oracle-instantclient-sqlplus-10.2.0.3.ebuild 2019 +MD5 3c1b7abdfc361d9684ef097f8e628f29 files/digest-oracle-instantclient-sqlplus-10.2.0.3 683 +RMD160 ab566669134c43b29830d05b3d90c516f589e492 files/digest-oracle-instantclient-sqlplus-10.2.0.3 683 +SHA256 4892479984b6ea67f073d9e7821830d041ff219ff8b5792863e85b720d32b02a files/digest-oracle-instantclient-sqlplus-10.2.0.3 683 diff --git a/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.3 b/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.3 new file mode 100644 index 0000000..ca7a808 --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.3 @@ -0,0 +1,6 @@ +MD5 020a02c29da17bb0d1aea78d6fb16c44 instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884 +RMD160 0f483aed1a64f22b1a46d05942e51213c2ba7234 instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884 +SHA256 8dcc95e3bf5723a7b1d6deccce049490bc70d99c0b9ac6ef13320b6b426303f6 instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884 +MD5 f71e87b5434ea952d159cb888ea8efb5 instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699 +RMD160 31e5346bbc6f597d69d6449bca8292c78c049ad0 instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699 +SHA256 aad12fd25a234fec76d672f7993911b9f267732b7bf244d76f44bc212edbd76a instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699 diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild new file mode 100644 index 0000000..fd15852 --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvs/lportage/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild,v 1.1 2008-01-08 19:53:42 randomdan Exp $ + +inherit eutils + +MY_P_x86="http://portage.develop.web.dot/${PN/oracle-/}-linux32-${PV}-20061115" +MY_P_amd64="http://portage.develop.web.dot/${PN/oracle-/}-linux-x86-64-${PV}-20070103" + +S=${WORKDIR} +DESCRIPTION="Oracle 10g client installation for Linux: SQL*Plus" +HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html" +SRC_URI="amd64? ( ${MY_P_amd64}.zip ) + x86? ( ${MY_P_x86}.zip )" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="-* ~amd64 x86" +IUSE="" + +RDEPEND=">=dev-db/oracle-instantclient-basic-${PV}" +DEPEND="${RDEPEND} + app-arch/unzip" + +pkg_setup() { + MY_P=MY_P_${ARCH} + export MY_P=${!MY_P} +} + +pkg_nofetch() { + eerror "Please go to:" + eerror " ${HOMEPAGE}" + eerror "select your platform and download the" + eerror "SQL*Plus package. Put it in:" + eerror " ${DISTDIR}" + eerror "after downloading it." +} + +src_unpack() { + unzip ${DISTDIR}/${MY_P}.zip +} + +src_install() { + dodir /usr/lib/oracle/${PV}/client/lib + cd ${S}/instantclient_10_2 + insinto /usr/lib/oracle/${PV}/client/lib + doins glogin.sql libsqlplus.so libsqlplusic.so + + dodir /usr/lib/oracle/${PV}/client/bin + cd ${S}/instantclient_10_2 + exeinto /usr/lib/oracle/${PV}/client/bin + doexe sqlplus + + dodir /usr/bin + dosym ${D}/usr/lib/oracle/${PV}/client/bin/sqlplus /usr/bin/sqlplus +} + +pkg_postinst() { + elog "The SQL*Plus package for Oracle 10g has been installed." + elog "You may wish to install the oracle-instantclient-jdbc (for" + elog "the supplemental JDBC functionality) package as well." + elog + elog "If you have any questions, be sure to read the README:" + elog "http://otn.oracle.com/docs/tech/sql_plus/10102/readme_ic.htm" + elog + elog "oracle-instantclient-* packages aren't installed in different" + elog "SLOTs any longer. You may want to uninstall older versions." +} |