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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Tue Dec 26 18:57:57 2006 UTC (13 years, 7 months ago) by dertobi123
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Cleanup
(Portage version: 2.1.2_rc4-r1)
 (Unsigned Manifest commit)

1 dertobi123 1.3 # Copyright 1999-2006 Gentoo Foundation
2 radek 1.1 # Distributed under the terms of the GNU General Public License v2
3 dertobi123 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.1.0.3.ebuild,v 1.3 2006/01/21 16:15:04 dertobi123 Exp $
4 radek 1.1
5     inherit eutils
6    
7     MY_P="${P}-1.i386"
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}.rpm"
13    
14     LICENSE="OTN"
15 dertobi123 1.3 SLOT="${PV}"
16 radek 1.1 KEYWORDS="~x86"
17     RESTRICT="fetch"
18     IUSE=""
19    
20     DEPEND="app-arch/rpm2targz
21     >=dev-db/oracle-instantclient-basic-${PV}"
22    
23     pkg_nofetch() {
24     eerror "Please go to:"
25     eerror " ${HOMEPAGE}"
26     eerror "and download the JDBC supplemental package. Put it in:"
27     eerror " ${DISTDIR}"
28     eerror "after downloading it."
29     }
30    
31     src_unpack() {
32     rpm2targz ${DISTDIR}/${MY_P}.rpm
33     tar zxf ${WORKDIR}/${MY_P}.tar.gz
34     }
35    
36     src_install() {
37     dodir /usr/lib/oracle/${PV}/client/lib
38     cd ${S}/usr/lib/oracle/${PV}/client/lib
39     insinto /usr/lib/oracle/${PV}/client/lib
40     doins libheteroxa10.so ocrs12.jar orai18n.jar
41     }
42    
43     pkg_postinst() {
44     einfo "The JDBC supplement package for Oracle 10g has been installed."
45     einfo "You may wish to install the oracle-instantclient-sqlplus (for "
46     einfo "running the SQL*Plus application) package as well."
47     }

  ViewVC Help
Powered by ViewVC 1.1.20