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

Contents of /dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Mar 22 21:24:54 2004 UTC (16 years, 6 months ago) by rizzo
Branch: MAIN
Initial import, thanks to Jamis Buck for the good work.  Bug #43813

1 rizzo 1.1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     inherit eutils
6    
7     MY_P="${P}-1.i386"
8    
9     S=${WORKDIR}
10     DESCRIPTION="Oracle 10g client installation for Linux"
11     HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
12     SRC_URI="${MY_P}.rpm"
13    
14     LICENSE="OTN"
15     SLOT="${KV}"
16     KEYWORDS="-* ~x86"
17     RESTRICT="fetch"
18    
19     DEPEND="app-arch/rpm2targz"
20    
21     pkg_nofetch() {
22     eerror "Please go to:"
23     eerror " ${HOMEPAGE}"
24     eerror "and download the Basic client package. Put it in:"
25     eerror " ${DISTDIR}"
26     eerror "after downloading it."
27     }
28    
29     src_unpack() {
30     rpm2targz ${DISTDIR}/${MY_P}.rpm
31     tar zxf ${WORKDIR}/${MY_P}.tar.gz
32     }
33    
34     src_install() {
35     mv ${S}/usr ${D}
36     }
37    
38     pkg_postinst() {
39     echo
40     einfo "The Basic client page for Oracle 10g has been installed."
41     einfo "You may also wish to install the oracle-instantclient-jdbc (for"
42     einfo "supplemental JDBC functionality with Oracle) and the"
43     einfo "oracle-instantclient-sqlplus (for running the SQL*Plus application)"
44     einfo "packages as well."
45     echo
46     }

  ViewVC Help
Powered by ViewVC 1.1.20