From: | "Tobias Scherbaum (dertobi123)" <dertobi123@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-db/oracle-instantclient-odbc: ChangeLog oracle-instantclient-odbc-11.2.0.1.ebuild |
Date: | Thu, 31 Dec 2009 10:47:18 |
Message-Id: | E1NQIYd-0006Yv-QT@stork.gentoo.org |
1 | dertobi123 09/12/31 10:47:07 |
2 | |
3 | Modified: ChangeLog |
4 | Added: oracle-instantclient-odbc-11.2.0.1.ebuild |
5 | Log: |
6 | Version bump (#293590) |
7 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.2 dev-db/oracle-instantclient-odbc/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/oracle-instantclient-odbc/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/oracle-instantclient-odbc/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/oracle-instantclient-odbc/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-odbc/ChangeLog,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ChangeLog 30 Dec 2008 20:51:58 -0000 1.1 |
23 | +++ ChangeLog 31 Dec 2009 10:47:07 -0000 1.2 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-db/oracle-instantclient-odbc |
26 | -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-odbc/ChangeLog,v 1.1 2008/12/30 20:51:58 dertobi123 Exp $ |
28 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-odbc/ChangeLog,v 1.2 2009/12/31 10:47:07 dertobi123 Exp $ |
30 | + |
31 | +*oracle-instantclient-odbc-11.2.0.1 (31 Dec 2009) |
32 | + |
33 | + 31 Dec 2009; Tobias Scherbaum <dertobi123@g.o> |
34 | + +oracle-instantclient-odbc-11.2.0.1.ebuild: |
35 | + Version bump (#293590) |
36 | |
37 | *oracle-instantclient-odbc-11.1.0.7.0 (30 Dec 2008) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: oracle-instantclient-odbc-11.2.0.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.1.ebuild,v 1.1 2009/12/31 10:47:07 dertobi123 Exp $ |
52 | |
53 | inherit eutils |
54 | |
55 | MY_P_x86="${PN/oracle-/}-linux32-${PV}" |
56 | |
57 | DESCRIPTION="Oracle 11g client installation ODBC supplement" |
58 | HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html" |
59 | SRC_URI="x86? ( ${MY_P_x86}.zip )" |
60 | |
61 | LICENSE="OTN" |
62 | SLOT="0" |
63 | KEYWORDS="-* ~x86" |
64 | RESTRICT="fetch" |
65 | IUSE="" |
66 | |
67 | DEPEND="app-arch/unzip" |
68 | RDEPEND="dev-db/oracle-instantclient-basic" |
69 | |
70 | S="${WORKDIR}" |
71 | |
72 | my_arch() { |
73 | MY_P=MY_P_${ARCH} |
74 | export MY_P=${!MY_P} |
75 | } |
76 | |
77 | pkg_setup() { |
78 | my_arch |
79 | } |
80 | |
81 | pkg_nofetch() { |
82 | my_arch |
83 | eerror "Please go to:" |
84 | eerror " ${HOMEPAGE}" |
85 | eerror "select your platform and download the" |
86 | eerror "ODBC supplement, which is:" |
87 | eerror " ${MY_P}.zip" |
88 | eerror "Then after downloading put it in:" |
89 | eerror " ${DISTDIR}" |
90 | } |
91 | |
92 | src_unpack() { |
93 | unzip "${DISTDIR}"/${MY_P}.zip || die "unsuccesful unzip ${MY_P}.zip" |
94 | } |
95 | |
96 | src_install() { |
97 | # library |
98 | dodir /usr/$(get_libdir)/oracle/${PV}/client/lib |
99 | cd "${S}"/instantclient_11_2 |
100 | insinto /usr/$(get_libdir)/oracle/${PV}/client/lib |
101 | doins *.so.11.2 |
102 | |
103 | # fixes symlinks |
104 | dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libsqora.so.11.2 /usr/$(get_libdir)/oracle/${PV}/client/lib/libsqora.so |
105 | |
106 | # odbc_update_ini.sh |
107 | dodir /usr/$(get_libdir)/oracle/${PV}/client/bin |
108 | cd "${S}"/instantclient_11_2 |
109 | exeinto /usr/$(get_libdir)/oracle/${PV}/client/bin |
110 | doexe odbc_update_ini.sh |
111 | |
112 | # documentation |
113 | dodoc *htm* |
114 | } |