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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Nov 12 18:17:49 2010 UTC (10 years ago) by dertobi123
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump

(Portage version: 2.1.9.24/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20