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 2015 Alexander Pyhalov
14 # Copyright 2018 Michal Nowak
15 # Copyright 2022 Andreas Wacknitz
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= pgbadger
21 COMPONENT_VERSION
= 12.4
22 COMPONENT_SUMMARY
= A fast PostgreSQL log analyzer
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:25456f0ea76e1de946d2bf09d937e9e830ca953ae4544a72bb9b747f11b4711a
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/darold
/pgbadger
/archive
/refs
/tags/v
$(COMPONENT_VERSION
).
tar.gz
27 COMPONENT_PROJECT_URL
= https
://dalibo.github.io
/pgbadger
/
28 COMPONENT_FMRI
= database
/postgres
/$(COMPONENT_NAME
)
29 COMPONENT_CLASSIFICATION
= System
/Databases
30 COMPONENT_LICENSE
= PostgreSQL
31 COMPONENT_LICENSE_FILE
= LICENSE
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 # Using makemaker.mk here is an overkill,
37 # because we don't need versioned pgbadger
38 COMPONENT_PRE_BUILD_ACTION
= ( cd
$(BUILD_DIR_64
) && $(PERL
) Makefile.PL
)
40 PKG_PROTO_DIRS
+= $(BUILD_DIR_64
)
42 # Auto-generated dependencies
43 PERL_REQUIRED_PACKAGES
+= runtime
/perl