Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 102171 | Differences between
and this patch

Collapse All | Expand All

(-)oracle-instantclient-sqlplus-10.1.0.3.ebuild.orig (-10 / +9 lines)
Lines 4-24 Link Here
4
4
5
inherit eutils
5
inherit eutils
6
6
7
MY_P="${P}-1.i386"
7
MY_P="instantclient-sqlplus-linux-x86-64-10.1.0.3"
8
8
9
S=${WORKDIR}
9
S="${WORKDIR}/instantclient10_1/"
10
DESCRIPTION="Oracle 10g client installation for Linux: SQL*Plus"
10
DESCRIPTION="Oracle 10g client installation for Linux: SQL*Plus"
11
HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
11
HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
12
SRC_URI="${MY_P}.rpm"
12
SRC_URI="${MY_P}.zip"
13
13
14
LICENSE="OTN"
14
LICENSE="OTN"
15
SLOT="${KV}"
15
SLOT="${KV}"
16
KEYWORDS="~x86"
16
KEYWORDS="~amd64"
17
RESTRICT="fetch"
17
RESTRICT="fetch"
18
IUSE=""
18
IUSE=""
19
19
20
DEPEND="app-arch/rpm2targz
20
DEPEND="app-arch/unzip
21
		>=dev-db/oracle-instantclient-basic-${PV}"
21
	>=dev-db/oracle-instantclient-basic-${PV}"
22
22
23
pkg_nofetch() {
23
pkg_nofetch() {
24
	eerror "Please go to:"
24
	eerror "Please go to:"
Lines 29-46 Link Here
29
}
29
}
30
30
31
src_unpack() {
31
src_unpack() {
32
	rpm2targz ${DISTDIR}/${MY_P}.rpm
32
	unzip ${DISTDIR}/${MY_P}.zip -d ${WORKDIR}/
33
	tar zxf ${WORKDIR}/${MY_P}.tar.gz 2>/dev/null
34
}
33
}
35
34
36
src_install() {
35
src_install() {
37
	dodir /usr/lib/oracle/${PV}/client/lib
36
	dodir /usr/lib/oracle/${PV}/client/lib
38
	cd ${S}/usr/lib/oracle/${PV}/client/lib
37
	cd ${S}/
39
	insinto /usr/lib/oracle/${PV}/client/lib
38
	insinto /usr/lib/oracle/${PV}/client/lib
40
	doins glogin.sql libsqlplus.so
39
	doins glogin.sql libsqlplus.so
41
40
42
	dodir /usr/lib/oracle/${PV}/client/bin
41
	dodir /usr/lib/oracle/${PV}/client/bin
43
	cd ${S}/usr/lib/oracle/${PV}/client/bin
42
	cd ${S}/
44
	exeinto /usr/lib/oracle/${PV}/client/bin
43
	exeinto /usr/lib/oracle/${PV}/client/bin
45
	doexe sqlplus
44
	doexe sqlplus
46
45

Return to bug 102171