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 2024, Carsten Grzemba
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= timescaledb
19 COMPONENT_VERSION
= 2.17.2
20 COMPONENT_SUMMARY
= Timescaledb extension for PostgreSQL
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_VERSION
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= sha256
:b2fcc29e9975b88c5323aefb062346326694c391d52af46186f5a5ad09136d47
24 COMPONENT_ARCHIVE_URL
= https
://github.com
/timescale
/timescaledb
/archive
/refs
/tags/$(COMPONENT_ARCHIVE
)
25 COMPONENT_PROJECT_URL
= www.timescale.com
26 COMPONENT_FMRI
= database
/postgres-
$(PG_VERNUM
)/$(COMPONENT_NAME
)
27 COMPONENT_CLASSIFICATION
= System
/Databases
28 COMPONENT_LICENSE
= Apache-2.0 TSL
29 COMPONENT_LICENSE_FILE
= LICENSE
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 COMPONENT_BUILD_ACTION
= cd
$(@D
); \
37 $(ENV
) $(COMPONENT_BUILD_ENV
) .
/bootstrap
-DCMAKE_C_FLAGS
=-I
$(PG_INCDIR
) && \
40 COMPONENT_INSTALL_ACTION
= cd
$(@D
)/build
&& $(ENV
) $(COMPONENT_INSTALL_ENV
) gmake
install DESTDIR
=$(PROTO_DIR
)
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES
+= $(PG_LIBRARY_PKG
)
44 REQUIRED_PACKAGES
+= system
/library