Marcel Telka
2024-04-02 f1b1912adc00984cd165470b728dda03ac81b2c6
commit | author | age
254841 1 #
AW 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.
6 #
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.
10 #
11
12 #
13 # Copyright 2023 Andreas Wacknitz
14 #
15
16 BUILD_BITS= 64
17 BUILD_STYLE= justmake
18 include ../../../make-rules/shared-macros.mk
19
20 COMPONENT_NAME=    pg_repack
21 COMPONENT_VERSION=    1.5.0
22 COMPONENT_SUMMARY=    pg_repack - utility to reorganize PostgreSQL tables on-line
23 COMPONENT_SRC=    $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).zip
25 COMPONENT_ARCHIVE_HASH= sha256:118542907ed6f1f713a45cc6b2daef8ca1e667f0c918bb9e24f390033fd52610
26 COMPONENT_ARCHIVE_URL=    https://api.pgxn.org/dist/pg_repack/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL=    https://reorg.github.io/pg_repack/
28 COMPONENT_FMRI=    database/postgres-15/pg_repack
29 COMPONENT_CLASSIFICATION=    System/Databases
30 COMPONENT_LICENSE=    BSD
31 COMPONENT_LICENSE_FILE=    COPYRIGHT
32
33 PG_VERSION=    15
34
35 # Don't depend on host default pg_config
36 PATH= $(PG_HOME)/bin:/usr/sbin:/usr/bin
37
38 TEST_TARGET= $(NO_TESTS)
39
40 include $(WS_MAKE_RULES)/common.mk
41
42 # Manually added build dependencies
43 REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG)
44
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES += $(PG_LIBRARY_PKG)
47 REQUIRED_PACKAGES += database/postgres-15
48 REQUIRED_PACKAGES += system/library