summaryrefslogtreecommitdiff
path: root/dev-db/postgresql-fdw-mysql/postgresql-fdw-mysql-2.6.0.ebuild
blob: 197e5cefee1753214c6092a2d333994bb77e27bf (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-9.4
	"
RDEPEND="${DEPEND}"

src_compile() {
	emake USE_PGXS=1
}

src_install() {
	emake USE_PGXS=1 install DESTDIR="${D}"
}