nrpe: update to 4.1.3
[oi-userland.git] / components / sysutils / cpuid / Makefile
blobfa6a809ebaba1e4f55caeeaf8fa2e882530613cd
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2018 Aurelien Larcher
13 # Copyright 2018-2019 Michal Nowak
14 # Copyright 2020 Nona Hansel
17 BUILD_BITS= 64
18 BUILD_STYLE= justmake
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= cpuid
22 COMPONENT_VERSION= 1.8.2
23 COMPONENT_SUMMARY= A simple CPUID decoder/dumper for x86/x86_64
24 COMPONENT_PROJECT_URL= https://github.com/tycho/cpuid
25 COMPONENT_FMRI= diagnostic/cpuid
26 COMPONENT_CLASSIFICATION=System/Hardware
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
29 COMPONENT_ARCHIVE_URL= https://github.com/tycho/cpuid/archive/$(COMPONENT_VERSION).tar.gz
30 COMPONENT_ARCHIVE_HASH= sha256:34947f4484252745e9ac821916bd00349c27836def4de26272ff6e2c78ebd4e5
31 COMPONENT_LICENSE= MIT
33 TEST_TARGET= $(NO_TESTS)
34 include $(WS_MAKE_RULES)/common.mk
36 COMPONENT_BUILD_ARGS += CC="$(CC) $(CC_BITS) "
37 COMPONENT_BUILD_ARGS += prefix=$(USRDIR)
39 COMPONENT_INSTALL_ARGS += CC="$(CC) $(CC_BITS) "
40 COMPONENT_INSTALL_ARGS += prefix=$(USRDIR)
42 COMPONENT_POST_INSTALL_ACTION = $(INSTALL) -D files/cpuid.1 $(PROTOUSRDIR)/share/man/man1/cpuid.1
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += system/library
46 REQUIRED_PACKAGES += system/library/math