Obsolete golang-120
[oi-userland.git] / components / sysutils / pstree / Makefile
blob2cbeee9110751b2a950276b31252106691663931
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.
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 2022 Marcel Telka
16 BUILD_STYLE = justmake
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME = pstree
21 COMPONENT_VERSION = 2.40
22 COMPONENT_SUMMARY = pstree shows the process listing as a tree
23 COMPONENT_PROJECT_URL = https://github.com/FredHucht/pstree
24 COMPONENT_FMRI = diagnostic/pstree
25 COMPONENT_CLASSIFICATION = Applications/System Utilities
26 COMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_URL = https://github.com/FredHucht/pstree/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
29 COMPONENT_ARCHIVE_HASH = \
30 sha256:64d613d8f66685b29f13a80e08cddc08616cf3e315a0692cbbf9de0d8aa376b3
31 COMPONENT_LICENSE = GPL-3.0-only
32 COMPONENT_LICENSE_FILE = LICENSE
34 TEST_TARGET = $(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
38 $(INSTALL_$(MK_BITS)): $(BUILD_$(MK_BITS))
39 $(MKDIR) $(PROTO_DIR) $(PROTOUSRBINDIR) $(PROTOUSRSHAREMAN1DIR)
40 $(CP) $(BUILD_DIR_$(BITS))/pstree $(PROTOUSRBINDIR)
41 $(CP) $(BUILD_DIR_$(BITS))/pstree.1 $(PROTOUSRSHAREMAN1DIR)
42 $(TOUCH) $@
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += system/library