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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 21 19:41:24 2005 UTC (15 years, 3 months ago) by radek
Branch: MAIN
based on Gustavo Michels work, i did version bump which closes bug #96289
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 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.1.0.3.ebuild,v 1.2 2005/01/01 17:39:25 eradicator Exp $
4
5 inherit eutils
6
7 MY_P="${PN/oracle-/}-linux32-${PV}-20050525"
8
9 S=${WORKDIR}
10 DESCRIPTION="Oracle 10g client installation for Linux: JDBC supplement"
11 HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
12 SRC_URI="${MY_P}.zip"
13
14 LICENSE="OTN"
15 SLOT="${KV}"
16 KEYWORDS="~x86"
17 RESTRICT="fetch"
18 IUSE=""
19
20 DEPEND=">=dev-db/oracle-instantclient-basic-${PV}"
21
22 pkg_nofetch() {
23 eerror "Please go to:"
24 eerror " ${HOMEPAGE}"
25 eerror "and download the JDBC supplemental package. Put it in:"
26 eerror " ${DISTDIR}"
27 eerror "after downloading it."
28 }
29
30 src_unpack() {
31 unzip ${DISTDIR}/${MY_P}.zip
32 }
33
34 src_install() {
35 dodir /usr/lib/oracle/${PV}/client/lib
36 cd ${S}/instantclient10_1
37 insinto /usr/lib/oracle/${PV}/client/lib
38 doins libheteroxa10.so ocrs12.jar orai18n.jar
39 }
40
41 pkg_postinst() {
42 einfo "The JDBC supplement package for Oracle 10g has been installed."
43 einfo "You may wish to install the oracle-instantclient-sqlplus (for "
44 einfo "running the SQL*Plus application) package as well."
45 }

  ViewVC Help
Powered by ViewVC 1.1.20