summaryrefslogtreecommitdiff
path: root/dev-db/postgresql-fdw-tds/postgresql-fdw-tds-2.0.1.ebuild
blob: 37a2f4b730b3a10225778a621faad21bc64552ca (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 TDS"
HOMEPAGE="https://github.com/GeoffMontee/tds_fdw"
SRC_URI="https://github.com/GeoffMontee/tds_fdw/archive/v${PV}.tar.gz"

LICENSE="mysql_fdw"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

S="${WORKDIR}/tds_fdw-${PV}"

DEPEND="
	dev-db/freetds
	>=dev-db/postgresql-9.2
	"
RDEPEND="${DEPEND}"

src_compile() {
	emake USE_PGXS=1
}

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