/[gentoo-x86]/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.2.0.2.ebuild
Gentoo

Contents of /dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.2.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Mar 25 16:45:39 2007 UTC (13 years, 4 months ago) by dertobi123
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
Error occurred while calculating annotation data.
FILE REMOVED
bug #169541
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.2.0.2.ebuild,v 1.5 2007/01/31 13:50:44 genone Exp $
4
5 inherit eutils
6
7 MY_P_x86="${PN/oracle-/}-linux32-${PV}-20060331"
8 MY_P_amd64="${PN/oracle-/}-linux-x86-64-${PV}-20060228"
9 MY_P_ppc="${PN/oracle-/}-linuxppc32-${PV}-20060327"
10 MY_P_ppc64="${PN/oracle-/}-linuxppc-${PV}-20060327"
11
12
13 S=${WORKDIR}
14 DESCRIPTION="Oracle 10g client installation for Linux: JDBC supplement"
15 HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html"
16 SRC_URI="x86? ( ${MY_P_x86}.zip )
17 amd64? ( ${MY_P_amd64}.zip )
18 ppc? ( ${MY_P_ppc}.zip )
19 ppc64? ( ${MY_P_ppc64}.zip )"
20
21 LICENSE="OTN"
22 SLOT="${PV}"
23 KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
24 RESTRICT="fetch"
25 IUSE=""
26
27 RDEPEND=">=dev-db/oracle-instantclient-basic-${PV}"
28 DEPEND="${RDEPEND}
29 app-arch/unzip"
30
31 pkg_setup() {
32 MY_P=MY_P_${ARCH}
33 export MY_P=${!MY_P}
34 }
35
36
37 pkg_nofetch() {
38 eerror "Please go to:"
39 eerror " ${HOMEPAGE}"
40 eerror "and download the JDBC supplemental package. Put it in:"
41 eerror " ${DISTDIR}"
42 eerror "after downloading it."
43 }
44
45 src_unpack() {
46 unzip ${DISTDIR}/${MY_P}.zip
47 }
48
49 src_install() {
50 dodir /usr/lib/oracle/${PV}/client/lib
51 cd ${S}/instantclient_10_2
52 insinto /usr/lib/oracle/${PV}/client/lib
53 doins libheteroxa10.so orai18n.jar
54 }
55
56 pkg_postinst() {
57 elog "The JDBC supplement package for Oracle 10g has been installed."
58 elog "You may wish to install the oracle-instantclient-sqlplus (for "
59 elog "running the SQL*Plus application) package as well."
60 }

  ViewVC Help
Powered by ViewVC 1.1.20