summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2006-01-08 20:32:57 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2006-01-08 20:32:57 +0000
commit047d5c3f42ad669c0a00854c594dbd066ee032fa (patch)
tree9cf13b10e1f0cdb38b8b47eb6f352a1bd52eb21a /dev-db/oracle-instantclient-sqlplus
parentupdated desktop file for 1.5 (diff)
downloadgentoo-2-047d5c3f42ad669c0a00854c594dbd066ee032fa.tar.gz
gentoo-2-047d5c3f42ad669c0a00854c594dbd066ee032fa.tar.bz2
gentoo-2-047d5c3f42ad669c0a00854c594dbd066ee032fa.zip
Added amd64 support, many thanks to Danny van Dyk <kugelfang@gentoo.org>. Fixes bug #102171.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-db/oracle-instantclient-sqlplus')
-rw-r--r--dev-db/oracle-instantclient-sqlplus/ChangeLog9
-rw-r--r--dev-db/oracle-instantclient-sqlplus/Manifest2
-rw-r--r--dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.1-r12
-rw-r--r--dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.1-r1.ebuild64
4 files changed, 76 insertions, 1 deletions
diff --git a/dev-db/oracle-instantclient-sqlplus/ChangeLog b/dev-db/oracle-instantclient-sqlplus/ChangeLog
index c88199fc473c..3c70b3b36649 100644
--- a/dev-db/oracle-instantclient-sqlplus/ChangeLog
+++ b/dev-db/oracle-instantclient-sqlplus/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/oracle-instantclient-sqlplus
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/ChangeLog,v 1.7 2006/01/07 22:33:19 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/ChangeLog,v 1.8 2006/01/08 20:31:54 dertobi123 Exp $
+
+*oracle-instantclient-sqlplus-10.2.0.1-r1 (08 Jan 2006)
+
+ 08 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ +oracle-instantclient-sqlplus-10.2.0.1-r1.ebuild:
+ Added amd64 support, many thanks to Danny van Dyk <kugelfang@gentoo.org>.
+ Fixes bug #102171.
*oracle-instantclient-sqlplus-10.2.0.1 (07 Jan 2006)
diff --git a/dev-db/oracle-instantclient-sqlplus/Manifest b/dev-db/oracle-instantclient-sqlplus/Manifest
index 53c04d243b4e..2c6f87b2150f 100644
--- a/dev-db/oracle-instantclient-sqlplus/Manifest
+++ b/dev-db/oracle-instantclient-sqlplus/Manifest
@@ -3,8 +3,10 @@ MD5 77c18d359283aaf49ec2636bae6693f2 files/digest-oracle-instantclient-sqlplus-1
MD5 0b0f6d200d7e375101ff9b829a3e8704 files/digest-oracle-instantclient-sqlplus-10.1.0.3 93
MD5 671ba7486b7d55012869a7c0759f93c2 files/digest-oracle-instantclient-sqlplus-10.1.0.4 96
MD5 d29a8a8cc29134e4feb1589d3e310330 files/digest-oracle-instantclient-sqlplus-10.2.0.1 96
+MD5 d61b51d7c6eeb4a8ac35e7ef51b0c7da files/digest-oracle-instantclient-sqlplus-10.2.0.1-r1 197
MD5 9f5d6b0af6c2271c1e2bbf0518bcc925 metadata.xml 388
MD5 2fee274b7df94902d24814e749e298b7 oracle-instantclient-sqlplus-10.1.0.2_p1.ebuild 1734
MD5 07be143f368b893ebef31e640d337ded oracle-instantclient-sqlplus-10.1.0.3.ebuild 1666
MD5 5d2001386557c76a5baf50e0b34fd328 oracle-instantclient-sqlplus-10.1.0.4.ebuild 1587
+MD5 631ee93ec5170d258e1684df1be21eb0 oracle-instantclient-sqlplus-10.2.0.1-r1.ebuild 1784
MD5 b3dfd83c95245414ca99caf3ec0e4722 oracle-instantclient-sqlplus-10.2.0.1.ebuild 1610
diff --git a/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.1-r1 b/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.1-r1
new file mode 100644
index 000000000000..c9eca334dc64
--- /dev/null
+++ b/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.1-r1
@@ -0,0 +1,2 @@
+MD5 a353edc796b6ef6be288f3f141965116 instantclient-sqlplus-linux-x86-64-10.2.0.1-20051025.zip 788073
+MD5 e24612ea9b33ef7d3eaf0dc55fb2a3d0 instantclient-sqlplus-linux32-10.2.0.1-20050713.zip 739754
diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.1-r1.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.1-r1.ebuild
new file mode 100644
index 000000000000..292b6cb23bf7
--- /dev/null
+++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.1-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2006 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-10.2.0.1-r1.ebuild,v 1.1 2006/01/08 20:31:54 dertobi123 Exp $
+
+inherit eutils
+
+MY_P_x86="${PN/oracle-/}-linux32-${PV}-20050713"
+MY_P_amd64="${PN/oracle-/}-linux-x86-64-${PV}-20051025"
+
+S=${WORKDIR}
+DESCRIPTION="Oracle 10g client installation for Linux: SQL*Plus"
+HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
+SRC_URI="x86? ( ${MY_P_x86}.zip )
+ amd64? ( ${MY_P_amd64}.zip )"
+
+LICENSE="OTN"
+SLOT="${KV}"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="fetch"
+IUSE=""
+
+DEPEND=">=dev-db/oracle-instantclient-basic-${PV}"
+
+pkg_setup() {
+ MY_P=MY_P_${ARCH}
+ export MY_P=${!MY_P}
+}
+
+
+pkg_nofetch() {
+ eerror "Please go to:"
+ eerror " ${HOMEPAGE}"
+ eerror "and download the 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() {
+ einfo "The SQL*Plus package for Oracle 10g has been installed."
+ einfo "You may wish to install the oracle-instantclient-jdbc (for"
+ einfo "the supplemental JDBC functionality) package as well."
+ einfo
+ einfo "If you have any questions, be sure to read the README:"
+ einfo "http://otn.oracle.com/docs/tech/sql_plus/10102/readme_ic.htm"
+}