/[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.3 - (show annotations) (download)
Mon Mar 22 21:40:17 2004 UTC (16 years, 4 months ago) by rizzo
Branch: MAIN
Changes since 1.2: +2 -1 lines
Adding empty IUSE

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.1.0.2.ebuild,v 1.2 2004/03/22 21:29:15 rizzo Exp $
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 IUSE=""
19
20 DEPEND="app-arch/rpm2targz"
21
22 pkg_nofetch() {
23 eerror "Please go to:"
24 eerror " ${HOMEPAGE}"
25 eerror "and download the Basic client package. Put it in:"
26 eerror " ${DISTDIR}"
27 eerror "after downloading it."
28 }
29
30 src_unpack() {
31 rpm2targz ${DISTDIR}/${MY_P}.rpm
32 tar zxf ${WORKDIR}/${MY_P}.tar.gz
33 }
34
35 src_install() {
36 mv ${S}/usr ${D}
37 }
38
39 pkg_postinst() {
40 echo
41 einfo "The Basic client page for Oracle 10g has been installed."
42 einfo "You may also wish to install the oracle-instantclient-jdbc (for"
43 einfo "supplemental JDBC functionality with Oracle) and the"
44 einfo "oracle-instantclient-sqlplus (for running the SQL*Plus application)"
45 einfo "packages as well."
46 echo
47 }

  ViewVC Help
Powered by ViewVC 1.1.20