# # 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 2025 Marcel Telka # %hook-begin% # https://github.com/jrfonseca/gprof2dot/issues/104 DOWNLOAD_URL='https://github.com/jrfonseca/gprof2dot/archive/refs/tags/$(GITHUB_VERSION).tar.gz' %include-2% # This project uses custom testing. # See https://github.com/jrfonseca/gprof2dot/blob/main/.github/workflows/build.yml TEST_STYLE = custom # Versions at github are with leading zeros GITHUB_VERSION = $(shell echo $(HUMAN_VERSION) | $(GSED) -e 's/\.\(.\.\)/.0\1/' -e 's/\.\(.\)$$/.0\1/') # Sources are located in non-default directory COMPONENT_SRC = gprof2dot-$(GITHUB_VERSION) %include-3% # Custom testing TEST_REQUIRED_PACKAGES += image/graphviz COMPONENT_TEST_CMD = $(PYTHON) tests/test.py COMPONENT_TEST_ARGS = COMPONENT_TEST_TARGETS =