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
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pg_repack
22 COMPONENT_VERSION
= 1.4.7
23 COMPONENT_SUMMARY
= pg_repack
- utility to reorganize PostgreSQL tables on-line
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).zip
26 COMPONENT_ARCHIVE_HASH
= sha256
:04a29a0d8e1a458bcbbf28a441a7380bb184c23b5f434c1c7249c5a6324c088c
27 COMPONENT_ARCHIVE_URL
= https
://api.pgxn.org
/dist/pg_repack
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_PROJECT_URL
= https
://reorg.github.io
/pg_repack
/
29 COMPONENT_FMRI
= database
/postgres-12
/pg_repack
30 COMPONENT_CLASSIFICATION
= System
/Databases
31 COMPONENT_LICENSE
= BSD
32 COMPONENT_LICENSE_FILE
= COPYRIGHT
35 # Don't depend on host default pg_config
36 # Note, for PostgreSQL >= 9.6 $(PG_HOME)/bin contains 64-bit files
37 PATH
= $(PG_HOME
)/bin
:/usr
/sbin
:/usr
/bin
39 TEST_TARGET
=$(NO_TESTS
)
41 include $(WS_MAKE_RULES
)/common.mk
43 # Manually added build dependencies
44 REQUIRED_PACKAGES
+= database
/postgres-12
/developer
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= database
/postgres-12
/library
48 REQUIRED_PACKAGES
+= system
/library