commit | author | age
|
8f13bb
|
1 |
# |
AW |
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 2023 Andreas Wacknitz |
|
14 |
# |
|
15 |
|
|
16 |
BUILD_BITS= 64 |
|
17 |
BUILD_STYLE= justmake |
|
18 |
include ../../../make-rules/shared-macros.mk |
|
19 |
|
|
20 |
COMPONENT_NAME= mysql_fdw |
|
21 |
COMPONENT_VERSION= 2.9.1 |
22ba9d
|
22 |
ARCHIVE_VERSION= REL-2_9_1 |
8f13bb
|
23 |
COMPONENT_SUMMARY= MySQL Foreign Data Wrapper for PostgreSQL $(PG_VERSION) |
22ba9d
|
24 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(ARCHIVE_VERSION) |
8f13bb
|
25 |
COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(HUMAN_VERSION).tar.gz |
AW |
26 |
COMPONENT_PROJECT_URL= https://github.com/EnterpriseDB/$(COMPONENT_NAME) |
22ba9d
|
27 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/refs/tags/$(ARCHIVE_VERSION).tar.gz |
8f13bb
|
28 |
COMPONENT_ARCHIVE_HASH= sha256:26e8dc2012de6151450fbf2a5cd591a3d5b8a52b1e3ec0600b14a4a6b4a06b54 |
AW |
29 |
COMPONENT_FMRI= database/postgres-$(PG_VERNUM)/mysql_fdw |
|
30 |
COMPONENT_CLASSIFICATION= System/Databases |
|
31 |
COMPONENT_LICENSE= MIT |
|
32 |
COMPONENT_LICENSE_FILE= LICENSE |
|
33 |
|
|
34 |
PG_VERSION= 15 |
|
35 |
|
|
36 |
# Don't depend on host default pg_config |
|
37 |
PATH= $(PG_HOME)/bin:$(MYSQL_BINDIR.$(BITS)):/usr/sbin:/usr/bin |
|
38 |
|
|
39 |
TEST_TARGET= $(NO_TESTS) |
|
40 |
include $(WS_MAKE_RULES)/common.mk |
|
41 |
|
|
42 |
COMPONENT_BUILD_ENV += USE_PGXS=1 |
|
43 |
COMPONENT_BUILD_ARGS += MYSQL_LIBNAME=$(MYSQL_LIBDIR)/libmysqlclient.so |
|
44 |
COMPONENT_INSTALL_ENV += USE_PGXS=1 |
|
45 |
|
|
46 |
# Manually added build dependencies |
|
47 |
REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG) |
|
48 |
REQUIRED_PACKAGES += $(MYSQL_LIBRARY_PKG) |
|
49 |
|
|
50 |
# Auto-generated dependencies |
|
51 |
REQUIRED_PACKAGES += system/library |