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

Contents of /dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.1.0.2_p2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


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

1 dertobi123 1.4 # Copyright 1999-2006 Gentoo Foundation
2 rizzo 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.2_p2.ebuild,v 1.4 2006/01/21 16:15:04 dertobi123 Exp $
4 rizzo 1.1
5     inherit eutils
6    
7     MY_PV=${PV/_p/-}
8     MY_P="${PN}-${MY_PV}.i386"
9    
10     S=${WORKDIR}
11     DESCRIPTION="Oracle 10g client installation for Linux: JDBC supplement"
12     HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
13     SRC_URI="${MY_P}.rpm"
14    
15     LICENSE="OTN"
16 dertobi123 1.4 SLOT="${PV}"
17 rizzo 1.1 KEYWORDS="~x86"
18     RESTRICT="fetch"
19     IUSE=""
20    
21     DEPEND="app-arch/rpm2targz
22     >=dev-db/oracle-instantclient-basic-10.1.0.2_p1"
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     rpm2targz ${DISTDIR}/${MY_P}.rpm
34     tar zxf ${WORKDIR}/${MY_P}.tar.gz
35     }
36    
37     src_install() {
38     dodir /usr/lib/oracle/10.1.0.2/client/lib
39     cd ${S}/usr/lib/oracle/10.1.0.2/client/lib
40     insinto /usr/lib/oracle/10.1.0.2/client/lib
41     doins libheteroxa10.so ocrs12.jar orai18n.jar
42     }
43    
44     pkg_postinst() {
45     echo
46     einfo "The JDBC supplement package for Oracle 10g has been installed."
47     einfo "You may wish to install the oracle-instantclient-sqlplus (for "
48     einfo "running the SQL*Plus application) package as well."
49     echo
50     }

  ViewVC Help
Powered by ViewVC 1.1.20