blob: 4691deec8227999418d6f80e7cffdb40487102af (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-db/emul-linux-x86-db-20140508-r2.ebuild,v 1.1 2014/08/19 16:04:59 axs Exp $
EAPI=5
inherit emul-linux-x86
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="-* ~amd64"
IUSE="abi_x86_32"
DEPEND=""
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}
abi_x86_32? (
>=dev-db/unixODBC-2.3.2[abi_x86_32(-)]
|| (
>=dev-db/mariadb-10.0.13[abi_x86_32(-)]
>=dev-db/mariadb-galera-10.0.12[abi_x86_32(-)]
)
)"
src_prepare() {
emul-linux-x86_src_prepare
# Remove migrated stuff.
use abi_x86_32 && rm -f $(sed "${FILESDIR}/remove-native-${PVR}" -e '/^#/d')
}
|