commit | author | age
|
ef8511
|
1 |
# |
AP |
2 |
# This file and its contents are supplied under the terms of the |
|
3 |
# Common Development and Distribution License ("CDDL"), version 1.0. |
|
4 |
# You may only use this file in accordance with the terms of version |
|
5 |
# 1.0 of the CDDL. |
|
6 |
# |
|
7 |
# A full copy of the text of the CDDL should have accompanied this |
|
8 |
# source. A copy of the CDDL is also available via the Internet at |
|
9 |
# http://www.illumos.org/license/CDDL. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2019 Alexander Pyhalov |
e68b67
|
14 |
# Copyright 2022 Marco van Wieringen |
ef8511
|
15 |
# |
AP |
16 |
|
|
17 |
BUILD_STYLE=justmake |
|
18 |
|
|
19 |
include ../../../make-rules/shared-macros.mk |
|
20 |
|
|
21 |
COMPONENT_NAME = mysql_fdw |
da9c40
|
22 |
HUMAN_VERSION = REL-2_7_0 |
MT |
23 |
COMPONENT_VERSION = 2.7.0 |
|
24 |
COMPONENT_REVISION = 1 |
ef8511
|
25 |
COMPONENT_SUMMARY = MySQL Foreign Data Wrapper for PostgreSQL $(PG_VERSION) |
da9c40
|
26 |
COMPONENT_SRC = $(COMPONENT_NAME)-$(HUMAN_VERSION) |
MT |
27 |
COMPONENT_ARCHIVE = $(COMPONENT_NAME)-$(HUMAN_VERSION).tar.gz |
e68b67
|
28 |
COMPONENT_ARCHIVE_HASH = sha256:99ca12c545292670fdbd63fe8e17e3b1376b0f88d9cdede24139a7992ca8b4d6 |
da9c40
|
29 |
COMPONENT_ARCHIVE_URL = https://github.com/EnterpriseDB/$(COMPONENT_NAME)/archive/$(HUMAN_VERSION).tar.gz |
ef8511
|
30 |
COMPONENT_PROJECT_URL = https://github.com/EnterpriseDB/mysql_fdw/ |
AP |
31 |
COMPONENT_FMRI = database/postgres-$(PG_VERNUM)/mysql_fdw |
|
32 |
COMPONENT_CLASSIFICATION = System/Databases |
|
33 |
COMPONENT_LICENSE = MIT |
|
34 |
COMPONENT_LICENSE_FILE = LICENSE |
|
35 |
|
|
36 |
PG_VERSION= 12 |
|
37 |
# Don't depend on host default pg_config |
|
38 |
# Note, for PostgreSQL >= 9.6 $(PG_HOME)/bin contains 64-bit files |
|
39 |
PATH= $(PG_HOME)/bin:$(MYSQL_BINDIR.$(BITS)):/usr/sbin:/usr/bin |
|
40 |
|
|
41 |
TEST_TARGET= $(NO_TESTS) |
|
42 |
|
|
43 |
include $(WS_MAKE_RULES)/common.mk |
|
44 |
|
e68b67
|
45 |
COMPONENT_BUILD_ENV += USE_PGXS=1 |
ef8511
|
46 |
COMPONENT_BUILD_ARGS += MYSQL_LIBNAME=$(MYSQL_LIBDIR)/libmysqlclient.so |
e68b67
|
47 |
COMPONENT_INSTALL_ENV += USE_PGXS=1 |
ef8511
|
48 |
|
e68b67
|
49 |
REQUIRED_PACKAGES += database/postgres-12/developer |
da9c40
|
50 |
REQUIRED_PACKAGES += $(MYSQL_LIBRARY_PKG) |
MT |
51 |
|
|
52 |
# Auto-generated dependencies |
|
53 |
REQUIRED_PACKAGES += system/library |