summaryrefslogtreecommitdiff
blob: f3ae2ce143b6fa9ef3383cb49860026b5c86f038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

inherit multilib-build

DESCRIPTION="Virtual for MySQL database server"
HOMEPAGE=""
SRC_URI=""

LICENSE=""
SLOT="0/18"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE="embedded static static-libs"

DEPEND=""
RDEPEND="
	virtual/libmysqlclient[static-libs?,${MULTILIB_USEDEP}]
	embedded? (
		|| (
			=dev-db/mariadb-10.1*[client-libs(+),embedded,static=]
			=dev-db/mariadb-10.0*[client-libs(+),embedded,static=]
			=dev-db/mysql-${PV}*[client-libs(+),embedded,static=]
			=dev-db/percona-server-${PV}*[client-libs(+),embedded,static=]
			=dev-db/mariadb-galera-10.0*[client-libs(+),embedded,static=]
			=dev-db/mysql-cluster-7.3*[client-libs(+),embedded,static=]
		)
	)
	!embedded? (
		|| (
			=dev-db/mariadb-10.1*[-embedded,static=]
			=dev-db/mariadb-10.0*[-embedded,static=]
			=dev-db/mysql-${PV}*[-embedded,static=]
			=dev-db/percona-server-${PV}*[-embedded,static=]
			=dev-db/mariadb-galera-10.0*[-embedded,static=]
			=dev-db/mysql-cluster-7.3*[-embedded,static=]
		)
	)
"