component(developer/golang-123): Add Component
[oi-userland.git] / components / database / postgresql-15-pg_repack / Makefile
blobf2e228bf5dc824169e20c269be2f11b3be69f7ca
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.
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 2023 Andreas Wacknitz
16 BUILD_STYLE= justmake
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= pg_repack
20 COMPONENT_VERSION= 1.5.1
21 COMPONENT_SUMMARY= pg_repack - utility to reorganize PostgreSQL tables on-line
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).zip
24 COMPONENT_ARCHIVE_HASH= sha256:46a699ef3d6a5225073cec8fa3945b3f43618682bd69aa07928c7acd6f16a751
25 COMPONENT_ARCHIVE_URL= https://api.pgxn.org/dist/pg_repack/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
26 COMPONENT_PROJECT_URL= https://reorg.github.io/pg_repack/
27 COMPONENT_FMRI= database/postgres-$(PG_VERSION)/pg_repack
28 COMPONENT_CLASSIFICATION= System/Databases
29 COMPONENT_LICENSE= BSD
30 COMPONENT_LICENSE_FILE= COPYRIGHT
32 PG_VERSION= 15
34 # Don't depend on host default pg_config
35 PATH= $(PG_HOME)/bin:/usr/sbin:/usr/bin
37 TEST_TARGET= $(NO_TESTS)
39 include $(WS_MAKE_RULES)/common.mk
41 # Manually added build dependencies
42 REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG)
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += $(PG_LIBRARY_PKG)
46 REQUIRED_PACKAGES += database/postgres-15
47 REQUIRED_PACKAGES += system/library