You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emulation/emul-linux-x86-db/emul-linux-x86-db-20140508-...

31 lines
824 B

# 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-r3.ebuild,v 1.2 2014/08/30 01:09:53 grknight 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/mysql-5.6.20-r1[abi_x86_32(-)]
>=dev-db/percona-server-5.6.20[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-${PV}-r2" -e '/^#/d')
}