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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Wed Jun 11 16:10:35 2008 UTC (12 years, 2 months ago) by dertobi123
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
remove old version
(Portage version: 2.1.5.4)

1 dertobi123 1.4 # Copyright 1999-2008 Gentoo Foundation
2 dertobi123 1.1 # Distributed under the terms of the GNU General Public License v2
3 dertobi123 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.1.0.5.ebuild,v 1.4 2008/03/08 20:58:03 dertobi123 Exp $
4 dertobi123 1.1
5     inherit eutils
6    
7     MY_P="${PN/oracle-/}-linux32-${PV}-20060511"
8    
9     S=${WORKDIR}
10     DESCRIPTION="Oracle 10g client installation for Linux: JDBC supplement"
11 dertobi123 1.2 HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html"
12 dertobi123 1.1 SRC_URI="${MY_P}.zip"
13    
14     LICENSE="OTN"
15     SLOT="${PV}"
16     KEYWORDS="~x86"
17     RESTRICT="fetch"
18     IUSE=""
19    
20     RDEPEND=">=dev-db/oracle-instantclient-basic-${PV}"
21     DEPEND="${RDEPEND}
22     app-arch/unzip"
23    
24     pkg_nofetch() {
25     eerror "Please go to:"
26     eerror " ${HOMEPAGE}"
27     eerror "and download the JDBC supplemental package. Put it in:"
28     eerror " ${DISTDIR}"
29     eerror "after downloading it."
30     }
31    
32     src_unpack() {
33 dertobi123 1.4 unzip "${DISTDIR}"/${MY_P}.zip
34 dertobi123 1.1 }
35    
36     src_install() {
37 dertobi123 1.4 dodir /usr/$(get_libdir)/oracle/${PV}/client/lib
38     cd "${S}"/instantclient10_1
39     insinto /usr/$(get_libdir)/oracle/${PV}/client/lib
40 dertobi123 1.1 doins libheteroxa10.so ocrs12.jar orai18n.jar
41     }
42    
43     pkg_postinst() {
44 genone 1.3 elog "The JDBC supplement package for Oracle 10g has been installed."
45     elog "You may wish to install the oracle-instantclient-sqlplus (for "
46     elog "running the SQL*Plus application) package as well."
47 dertobi123 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20