# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2019 Alexander Pyhalov # BUILD_BITS=64 BUILD_STYLE=justmake include ../../../make-rules/shared-macros.mk COMPONENT_NAME= pg_repack COMPONENT_VERSION= 1.4.7 COMPONENT_SUMMARY= pg_repack - utility to reorganize PostgreSQL tables on-line COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).zip COMPONENT_ARCHIVE_HASH= sha256:04a29a0d8e1a458bcbbf28a441a7380bb184c23b5f434c1c7249c5a6324c088c COMPONENT_ARCHIVE_URL= https://api.pgxn.org/dist/pg_repack/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL= https://reorg.github.io/pg_repack/ COMPONENT_FMRI= database/postgres-12/pg_repack COMPONENT_CLASSIFICATION= System/Databases COMPONENT_LICENSE= BSD COMPONENT_LICENSE_FILE= COPYRIGHT PG_VERSION= 12 # Don't depend on host default pg_config # Note, for PostgreSQL >= 9.6 $(PG_HOME)/bin contains 64-bit files PATH= $(PG_HOME)/bin:/usr/sbin:/usr/bin TEST_TARGET=$(NO_TESTS) include $(WS_MAKE_RULES)/common.mk # Manually added build dependencies REQUIRED_PACKAGES += database/postgres-12/developer # Auto-generated dependencies REQUIRED_PACKAGES += database/postgres-12/library REQUIRED_PACKAGES += system/library