diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-12-31 10:41:57 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-12-31 10:41:57 +0000 |
commit | 4d905db6f3f3c863762f3b559e817d6b299a99b5 (patch) | |
tree | 3548eca4214bb5ef40246e62f5dbaa496b6340ef /dev-db/oracle-instantclient-sqlplus | |
parent | Version bump (#293590) (diff) | |
download | gentoo-2-4d905db6f3f3c863762f3b559e817d6b299a99b5.tar.gz gentoo-2-4d905db6f3f3c863762f3b559e817d6b299a99b5.tar.bz2 gentoo-2-4d905db6f3f3c863762f3b559e817d6b299a99b5.zip |
Version bump (#293590)
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/oracle-instantclient-sqlplus')
3 files changed, 142 insertions, 2 deletions
diff --git a/dev-db/oracle-instantclient-sqlplus/ChangeLog b/dev-db/oracle-instantclient-sqlplus/ChangeLog index 95ba987390c4..96bd2a4603c5 100644 --- a/dev-db/oracle-instantclient-sqlplus/ChangeLog +++ b/dev-db/oracle-instantclient-sqlplus/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-db/oracle-instantclient-sqlplus -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/ChangeLog,v 1.26 2009/05/04 17:00:05 dertobi123 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/ChangeLog,v 1.27 2009/12/31 10:41:57 dertobi123 Exp $ + +*oracle-instantclient-sqlplus-11.2.0.1 (31 Dec 2009) +*oracle-instantclient-sqlplus-11.2.0.0.2 (31 Dec 2009) + + 31 Dec 2009; Tobias Scherbaum <dertobi123@gentoo.org> + +oracle-instantclient-sqlplus-11.2.0.0.2.ebuild, + +oracle-instantclient-sqlplus-11.2.0.1.ebuild: + Version bump (#293590) *oracle-instantclient-sqlplus-11.1.0.7.0-r1 (04 May 2009) *oracle-instantclient-sqlplus-10.2.0.3-r1 (04 May 2009) diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.0.2.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.0.2.ebuild new file mode 100644 index 000000000000..0c5dcccbf2c0 --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.0.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.0.2.ebuild,v 1.1 2009/12/31 10:41:57 dertobi123 Exp $ + +inherit eutils + +MY_P_amd64="${PN/oracle-instantclient-/oracle-instantclient11.2-}-${PV}-1.x86_64" + +S="${WORKDIR}" +DESCRIPTION="Oracle 11g client installation for Linux: SQL*Plus" +HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html" +SRC_URI="amd64? ( ${MY_P_amd64}.zip )" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="fetch" +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/$(get_libdir)/oracle/${PV}/client/lib + cd "${S}"/instantclient_11_2 + insinto /usr/$(get_libdir)/oracle/${PV}/client/lib + doins libsqlplus.so libsqlplusic.so + insinto /usr/$(get_libdir)/oracle/${PV}/client/sqlplus/admin/ + doins glogin.sql + + dodir /usr/$(get_libdir)/oracle/${PV}/client/bin + cd "${S}"/instantclient_11_2 + exeinto /usr/$(get_libdir)/oracle/${PV}/client/bin + doexe sqlplus + + dodir /usr/bin + dosym "${D}"/usr/$(get_libdir)/oracle/${PV}/client/bin/sqlplus /usr/bin/sqlplus +} + +pkg_postinst() { + elog "The SQL*Plus package for Oracle 11g 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" +} diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.1.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.1.ebuild new file mode 100644 index 000000000000..d1b38d6a799f --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.1.ebuild,v 1.1 2009/12/31 10:41:57 dertobi123 Exp $ + +inherit eutils + +MY_P_x86="${PN/oracle-/}-linux32-${PV}" + +S="${WORKDIR}" +DESCRIPTION="Oracle 11g client installation for Linux: SQL*Plus" +HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html" +SRC_URI="x86? ( ${MY_P_x86}.zip )" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="-* ~x86" +RESTRICT="fetch" +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/$(get_libdir)/oracle/${PV}/client/lib + cd "${S}"/instantclient_11_2 + insinto /usr/$(get_libdir)/oracle/${PV}/client/lib + doins libsqlplus.so libsqlplusic.so + insinto /usr/$(get_libdir)/oracle/${PV}/client/sqlplus/admin/ + doins glogin.sql + + dodir /usr/$(get_libdir)/oracle/${PV}/client/bin + cd "${S}"/instantclient_11_2 + exeinto /usr/$(get_libdir)/oracle/${PV}/client/bin + doexe sqlplus + + dodir /usr/bin + dosym "${D}"/usr/$(get_libdir)/oracle/${PV}/client/bin/sqlplus /usr/bin/sqlplus +} + +pkg_postinst() { + elog "The SQL*Plus package for Oracle 11g 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" +} |