blob: a38387f26b6464963defb4d2d9a7ae4c77b9c8ef (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="7"
DESCRIPTION="PostgreSQL foreign data wrapper for MySQL"
HOMEPAGE="https://github.com/EnterpriseDB/mysql_fdw"
SRC_URI="https://github.com/EnterpriseDB/mysql_fdw/archive/REL-${PV//./_}.tar.gz"
LICENSE="mysql_fdw"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
S="${WORKDIR}/mysql_fdw-REL-${PV//./_}"
DEPEND="
dev-db/mysql-connector-c
>=dev-db/postgresql-11
"
RDEPEND="${DEPEND}"
src_compile() {
emake USE_PGXS=1
}
src_install() {
emake USE_PGXS=1 install DESTDIR="${D}"
}
|