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-...

29 lines
725 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-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')
}