diff options
author | Don Seiler <rizzo@gentoo.org> | 2004-11-19 16:33:52 +0000 |
---|---|---|
committer | Don Seiler <rizzo@gentoo.org> | 2004-11-19 16:33:52 +0000 |
commit | c060b8fdfbff1fdbc71d93aef71833867d7a1a42 (patch) | |
tree | b2dc5b92e9ce1e0fe10ae6c0eac7e6a471fca0a3 /dev-db/oracle-instantclient-basic | |
parent | removing spiderman (Manifest recommit) (diff) | |
download | gentoo-2-c060b8fdfbff1fdbc71d93aef71833867d7a1a42.tar.gz gentoo-2-c060b8fdfbff1fdbc71d93aef71833867d7a1a42.tar.bz2 gentoo-2-c060b8fdfbff1fdbc71d93aef71833867d7a1a42.zip |
Adding lib path to LDPATH
Diffstat (limited to 'dev-db/oracle-instantclient-basic')
4 files changed, 67 insertions, 2 deletions
diff --git a/dev-db/oracle-instantclient-basic/ChangeLog b/dev-db/oracle-instantclient-basic/ChangeLog index 8e359a3fa062..eabda604c46c 100644 --- a/dev-db/oracle-instantclient-basic/ChangeLog +++ b/dev-db/oracle-instantclient-basic/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/oracle-instantclient-basic # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/ChangeLog,v 1.3 2004/06/24 21:58:15 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/ChangeLog,v 1.4 2004/11/19 16:33:52 rizzo Exp $ + +*oracle-instantclient-basic-10.1.0.2_p1-r1 (19 Nov 2004) + + 19 Nov 2004; Don Seiler <rizzo@gentoo.org> + +oracle-instantclient-basic-10.1.0.2_p1-r1.ebuild: + Adding lib path to LDPATH *oracle-instantclient-basic-10.1.0.2_p1 (21 Jun 2004) diff --git a/dev-db/oracle-instantclient-basic/Manifest b/dev-db/oracle-instantclient-basic/Manifest index b6928eb659e2..e1096e01d0e1 100644 --- a/dev-db/oracle-instantclient-basic/Manifest +++ b/dev-db/oracle-instantclient-basic/Manifest @@ -1,4 +1,6 @@ -MD5 200f88ebd39926cabcc1b1bb662aa7e2 oracle-instantclient-basic-10.1.0.2_p1.ebuild 1386 MD5 d3bdc154241c2d3591d7352621560de6 ChangeLog 835 MD5 be21f1b8658247ec78eba9d3e7c37537 metadata.xml 422 +MD5 200f88ebd39926cabcc1b1bb662aa7e2 oracle-instantclient-basic-10.1.0.2_p1.ebuild 1386 +MD5 200f88ebd39926cabcc1b1bb662aa7e2 oracle-instantclient-basic-10.1.0.2_p1-r1.ebuild 1386 +MD5 8531dff3174726242a9e9de77be6b595 files/digest-oracle-instantclient-basic-10.1.0.2_p1-r1 93 MD5 8531dff3174726242a9e9de77be6b595 files/digest-oracle-instantclient-basic-10.1.0.2_p1 93 diff --git a/dev-db/oracle-instantclient-basic/files/digest-oracle-instantclient-basic-10.1.0.2_p1-r1 b/dev-db/oracle-instantclient-basic/files/digest-oracle-instantclient-basic-10.1.0.2_p1-r1 new file mode 100644 index 000000000000..8adb29fef0e2 --- /dev/null +++ b/dev-db/oracle-instantclient-basic/files/digest-oracle-instantclient-basic-10.1.0.2_p1-r1 @@ -0,0 +1 @@ +MD5 39fb478b851bd411acf3ff35daae20cf oracle-instantclient-basic-10.1.0.2-1.i386.rpm 40065717 diff --git a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.2_p1-r1.ebuild b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.2_p1-r1.ebuild new file mode 100644 index 000000000000..c0e1db40eee6 --- /dev/null +++ b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.2_p1-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.2_p1-r1.ebuild,v 1.1 2004/11/19 16:33:52 rizzo Exp $ + +inherit eutils + +MY_PV=${PV/_p/-} +MY_P="${PN}-${MY_PV}.i386" + +S=${WORKDIR} +DESCRIPTION="Oracle 10g client installation for Linux" +HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html" +SRC_URI="${MY_P}.rpm" + +LICENSE="OTN" +SLOT="${KV}" +KEYWORDS="~x86" +RESTRICT="fetch" +IUSE="" + +DEPEND="app-arch/rpm2targz" + +pkg_nofetch() { + eerror "Please go to:" + eerror " ${HOMEPAGE}" + eerror "and download the Basic client package. Put it in:" + eerror " ${DISTDIR}" + eerror "after downloading it." +} + +src_unpack() { + rpm2targz ${DISTDIR}/${MY_P}.rpm + tar zxf ${WORKDIR}/${MY_P}.tar.gz +} + +src_install() { + dodir /usr/lib/oracle/10.1.0.2/client/lib + cd ${S}/usr/lib/oracle/10.1.0.2/client/lib + insinto /usr/lib/oracle/10.1.0.2/client/lib + doins *.jar *.so *.so.10.1 + + # Add OCI libs to library path + dodir /etc/env.d + echo 'LDPATH=/usr/lib/oracle/10.1.0.2/client/lib' > ${D}/etc/env.d/50oracle-instantclient-basic + +} + +pkg_postinst() { + echo + einfo "The Basic client page for Oracle 10g has been installed." + einfo "You may also wish to install the oracle-instantclient-jdbc (for" + einfo "supplemental JDBC functionality with Oracle) and the" + einfo "oracle-instantclient-sqlplus (for running the SQL*Plus application)" + einfo "packages as well." + echo +} |