/[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.1 - (hide annotations) (download)
Wed Apr 5 18:58:23 2006 UTC (14 years, 4 months ago) by dertobi123
Branch: MAIN
Version bump, fix #128901.
(Portage version: 2.1_pre7-r4)

1 dertobi123 1.1 # Copyright 1999-2006 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.1-r1.ebuild,v 1.3 2006/03/19 19:18:02 halcy0n 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    
10    
11     S=${WORKDIR}
12     DESCRIPTION="Oracle 10g client installation for Linux: JDBC supplement"
13     HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
14     SRC_URI="x86? ( ${MY_P_x86}.zip )
15     amd64? ( ${MY_P_amd64}.zip )"
16    
17     LICENSE="OTN"
18     SLOT="${PV}"
19     KEYWORDS="-* ~amd64 ~x86"
20     RESTRICT="fetch"
21     IUSE=""
22    
23     RDEPEND=">=dev-db/oracle-instantclient-basic-${PV}"
24     DEPEND="${RDEPEND}
25     app-arch/unzip"
26    
27     pkg_setup() {
28     MY_P=MY_P_${ARCH}
29     export MY_P=${!MY_P}
30     }
31    
32    
33     pkg_nofetch() {
34     eerror "Please go to:"
35     eerror " ${HOMEPAGE}"
36     eerror "and download the JDBC supplemental package. Put it in:"
37     eerror " ${DISTDIR}"
38     eerror "after downloading it."
39     }
40    
41     src_unpack() {
42     unzip ${DISTDIR}/${MY_P}.zip
43     }
44    
45     src_install() {
46     dodir /usr/lib/oracle/${PV}/client/lib
47     cd ${S}/instantclient_10_2
48     insinto /usr/lib/oracle/${PV}/client/lib
49     doins libheteroxa10.so orai18n.jar
50     }
51    
52     pkg_postinst() {
53     einfo "The JDBC supplement package for Oracle 10g has been installed."
54     einfo "You may wish to install the oracle-instantclient-sqlplus (for "
55     einfo "running the SQL*Plus application) package as well."
56     }

  ViewVC Help
Powered by ViewVC 1.1.20