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
20 include ..
/..
/..
/make-rules
/shared-macros.mk
23 COMPONENT_VERSION
= 12.1.4
24 COMPONENT_SUMMARY
= Citus Open Source PostgreSQL extension
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= sha256
:6f8e55bbcae75309192c48cdb7238e8c895fd63e5b785ff798023c8b8b799e61
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/citusdata
/citus
/archive
/v
$(COMPONENT_VERSION
).
tar.gz
29 COMPONENT_PROJECT_URL
= https
://www.citusdata.com
/
30 COMPONENT_FMRI
= database
/postgres-
$(PG_VERNUM
)/citus
31 COMPONENT_CLASSIFICATION
= System
/Databases
32 COMPONENT_LICENSE
= AGPLv3.0
33 COMPONENT_LICENSE_FILE
= LICENSE
35 # Don't depend on host default pg_config
36 PATH
= $(PG_BINDIR
):$(PATH.illumos
)
38 TEST_TARGET
= $(NO_TESTS
)
39 include $(WS_MAKE_RULES
)/common.mk
41 CONFIGURE_OPTIONS
+= LDFLAGS
=-L
$(OPENSSL_LIBDIR
)
42 CONFIGURE_OPTIONS
+= CPPFLAGS
=-I
$(OPENSSL_INCDIR
)
43 CONFIGURE_OPTIONS
+= PKG_CONFIG_PATH
=$(OPENSSL_PKG_CONFIG_PATH
)
45 # Manually added dependencies
46 REQUIRED_PACKAGES
+= $(PG_DEVELOPER_PKG
)
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
50 REQUIRED_PACKAGES
+= $(PG_LIBRARY_PKG
)
51 REQUIRED_PACKAGES
+= compress
/zstd
52 REQUIRED_PACKAGES
+= library
/lz4
53 REQUIRED_PACKAGES
+= system
/library
54 REQUIRED_PACKAGES
+= web
/curl