1 |
commit: 8964f5a3b1b70c9dcb403c5296fd63a2c04f315a |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 30 21:30:46 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 1 00:03:35 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8964f5a3 |
7 |
|
8 |
dev-db/soci: EAPI-6 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
dev-db/soci/soci-3.2.3.ebuild | 39 ++++++++++++++++++++------------------- |
13 |
1 file changed, 20 insertions(+), 19 deletions(-) |
14 |
|
15 |
diff --git a/dev-db/soci/soci-3.2.3.ebuild b/dev-db/soci/soci-3.2.3.ebuild |
16 |
index 390012ef0f7..ba430f65be3 100644 |
17 |
--- a/dev-db/soci/soci-3.2.3.ebuild |
18 |
+++ b/dev-db/soci/soci-3.2.3.ebuild |
19 |
@@ -1,20 +1,21 @@ |
20 |
-# Copyright 1999-2017 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=6 |
26 |
|
27 |
inherit cmake-utils |
28 |
|
29 |
-KEYWORDS="~amd64 ~x86" |
30 |
- |
31 |
DESCRIPTION="Makes the illusion of embedding SQL queries in the regular C++ code" |
32 |
HOMEPAGE="http://soci.sourceforge.net/" |
33 |
SRC_URI="mirror://sourceforge/${PN}/${P}.zip" |
34 |
+ |
35 |
LICENSE="Boost-1.0" |
36 |
SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
IUSE="boost doc +empty firebird mysql odbc oracle postgres sqlite" |
39 |
|
40 |
-DEPEND="boost? ( dev-libs/boost ) |
41 |
+DEPEND=" |
42 |
+ boost? ( dev-libs/boost ) |
43 |
firebird? ( dev-db/firebird ) |
44 |
mysql? ( virtual/mysql ) |
45 |
odbc? ( dev-db/unixODBC ) |
46 |
@@ -22,25 +23,25 @@ DEPEND="boost? ( dev-libs/boost ) |
47 |
postgres? ( dev-db/postgresql:= ) |
48 |
sqlite? ( dev-db/sqlite:3 ) |
49 |
" |
50 |
-RDEPEND=${DEPEND} |
51 |
+RDEPEND="${DEPEND}" |
52 |
|
53 |
src_configure() { |
54 |
- local mycmakeargs="$(cmake-utils_use_with boost ) |
55 |
- $(cmake-utils_use empty SOCI_EMPTY) |
56 |
- $(cmake-utils_use_with firebird FIREBIRD) |
57 |
- $(cmake-utils_use_with mysql MYSQL) |
58 |
- $(cmake-utils_use_with odbc ODBC) |
59 |
- $(cmake-utils_use_with oracle ORACLE) |
60 |
- $(cmake-utils_use_with postgres POSTGRESQL) |
61 |
- $(cmake-utils_use_with sqlite SQLITE3) |
62 |
- -DWITH_DB2=OFF" #use MYCMAKEARGS if you want enable IBM DB2 support |
63 |
+ local mycmakeargs=( |
64 |
+ -DWITH_BOOST=$(usex boost) |
65 |
+ -DSOCI_EMPTY=$(usex empty) |
66 |
+ -DWITH_FIREBIRD=$(usex firebird) |
67 |
+ -DWITH_MYSQL=$(usex mysql) |
68 |
+ -DWITH_ODBC=$(usex odbc) |
69 |
+ -DWITH_ORACLE=$(usex oracle) |
70 |
+ -DWITH_POSTGRESQL=$(usex postgres) |
71 |
+ -DWITH_SQLITE3=$(usex sqlite) |
72 |
+ -DWITH_DB2=OFF |
73 |
+ ) |
74 |
+ #use MYCMAKEARGS if you want enable IBM DB2 support |
75 |
cmake-utils_src_configure |
76 |
} |
77 |
|
78 |
src_install() { |
79 |
+ use doc && local HTML_DOCS=( doc/. ) |
80 |
cmake-utils_src_install |
81 |
- dodoc AUTHORS CHANGES |
82 |
- if use doc; then |
83 |
- dohtml -r doc/* |
84 |
- fi |
85 |
} |