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
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 11.1.5
22 COMPONENT_SUMMARY
= Citus Open Source PostgreSQL extension
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:ed5ef250c61d183d6aebbac388e4797c105c88e707411b9ba1ff86f198401387
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/citusdata
/citus
/archive
/v
$(COMPONENT_VERSION
).
tar.gz
27 COMPONENT_PROJECT_URL
= https
://www.citusdata.com
/
28 COMPONENT_FMRI
= database
/postgres-
$(PG_VERNUM
)/citus
29 COMPONENT_CLASSIFICATION
= System
/Databases
30 COMPONENT_LICENSE
= AGPLv3.0
31 COMPONENT_LICENSE_FILE
= LICENSE
33 # Don't depend on host default pg_config
34 # Note, for PostgreSQL >= 9.6 $(PG_HOME)/bin contains 64-bit files
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-11
52 REQUIRED_PACKAGES
+= system
/library
53 REQUIRED_PACKAGES
+= web
/curl