Сравнение mariadb-connector-odbc-3.1.14 с mariadb-connector-odbc-3.1.18
/usr/portage/dev-db/mariadb-connector-odbc/mariadb-connector-odbc-3.1.18.ebuild 2023-10-09 14:52:29.320368346 +0300 | ||
---|---|---|
1 |
# Copyright 2018-2022 Gentoo Authors |
|
1 |
# Copyright 2018-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit cmake-multilib flag-o-matic |
7 | 7 | |
8 | 8 |
DESCRIPTION="MariaDB Connector/ODBC" |
9 | 9 |
HOMEPAGE="https://downloads.mariadb.org/connector-odbc/" |
10 | 10 |
SRC_URI="mirror://mariadb/connector-odbc-${PV}/${P}-src.tar.gz" |
11 |
S="${S}-src" |
|
11 | 12 | |
12 | 13 |
LICENSE="LGPL-2.1" |
13 | 14 |
SLOT="0/3.1" |
14 |
KEYWORDS="amd64 x86" |
|
15 |
KEYWORDS="~amd64 ~x86" |
|
15 | 16 |
IUSE="ssl" |
16 | 17 | |
17 |
S="${S}-src" |
|
18 | ||
19 | 18 |
# USE=ssl merely enables the configuration options (seemingly for interactive |
20 | 19 |
# sessions) and does not cause direct linking to any SSL libraries. However, |
21 | 20 |
# it doesn't make sense enable these configuration options unless the |
22 | 21 |
# underlying mariadb-connector-c has ssl enabled, thus if we have USE=ssl, |
23 | 22 |
# require mariadb-connector-c to have it too. |
24 |
DEPEND="=dev-db/mariadb-connector-c-$(ver_cut 1-2)*:=[ssl?] |
|
23 |
DEPEND="dev-db/mariadb-connector-c:=[ssl?] |
|
25 | 24 |
dev-db/unixODBC" |
26 | 25 |
RDEPEND="${DEPEND}" |
27 | 26 | |
... | ... | |
39 | 38 |
-DUSE_SYSTEM_INSTALLED_LIB=YES |
40 | 39 |
-DINSTALL_DOCDIR="/usr/share/doc/${PF}" |
41 | 40 |
-DINSTALL_LICENSEDIR="/usr/share/doc/${PF}" |
41 |
-DINSTALL_LIBDIR="$(get_libdir)/mariadb" |
|
42 |
-DINSTALL_PCDIR="$(get_libdir)/pkgconfig" |
|
42 | 43 |
#-DCMAKE_C_FLAGS="$(mariadb_config --cflags)" |
43 | 44 |
) |
44 | 45 |
cmake_src_configure |
... | ... | |
47 | 48 |
multilib_src_install_all() { |
48 | 49 |
insinto /usr/share/${PN} |
49 | 50 |
doins odbcinst.ini |
51 | ||
52 |
rm "${ED}/usr/share/doc/${PF}/COPYING" || die "Error removing COPYING file from installation" |
|
50 | 53 |
} |
51 | 54 | |
52 | 55 |
pkg_postinst() { |