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
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.
13 # Copyright 2019 Alexander Pyhalov
14 # Copyright 2022 Marco van Wieringen
15 # Copyright 2023 Andreas Wacknitz
19 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_VERSION
= 12.0.0
23 COMPONENT_SUMMARY
= Citus Open Source PostgreSQL extension
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:9a6adaecc28e80e03a0523d07ee14c4b848f86f48ed37f84aa8cb98f3489f632
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/citusdata
/citus
/archive
/v
$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_PROJECT_URL
= https
://www.citusdata.com
/
29 COMPONENT_FMRI
= database
/postgres-
$(PG_VERNUM
)/citus
30 COMPONENT_CLASSIFICATION
= System
/Databases
31 COMPONENT_LICENSE
= AGPLv3.0
32 COMPONENT_LICENSE_FILE
= LICENSE
34 # Don't depend on host default pg_config
35 PATH
= $(PG_BINDIR
):$(PATH.illumos
)
37 TEST_TARGET
= $(NO_TESTS
)
38 include $(WS_MAKE_RULES
)/common.mk
40 CONFIGURE_OPTIONS
+= LDFLAGS
=-L
$(OPENSSL_LIBDIR
)
41 CONFIGURE_OPTIONS
+= CPPFLAGS
=-I
$(OPENSSL_INCDIR
)
42 CONFIGURE_OPTIONS
+= PKG_CONFIG_PATH
=$(OPENSSL_PKG_CONFIG_PATH
)
44 # Manually added dependencies
45 REQUIRED_PACKAGES
+= $(PG_DEVELOPER_PKG
)
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES
+= $(PG_LIBRARY_PKG
)
49 REQUIRED_PACKAGES
+= compress
/zstd
50 REQUIRED_PACKAGES
+= library
/lz4
51 REQUIRED_PACKAGES
+= library
/security
/openssl-31
52 REQUIRED_PACKAGES
+= system
/library
53 REQUIRED_PACKAGES
+= web
/curl