nrpe: update to 4.1.3
[oi-userland.git] / components / library / libxxhash / Makefile
blobb07e4335230ec924812483c246f00305370ba532
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 2024 Till Wegmüller
16 BUILD_BITS=64
17 BUILD_STYLE=justmake
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libxxhash
21 COMPONENT_VERSION= 0.8.2
22 COMPONENT_REVISION= 1
23 COMPONENT_SUMMARY= Extremely fast non-cryptographic hash algorithm
24 COMPONENT_PROJECT_URL= http://www.xxhash.com/
25 COMPONENT_FMRI= library/$(COMPONENT_NAME)
26 COMPONENT_FMRI.xxhsum = sysutils/xxhsum
27 COMPONENT_CLASSIFICATION= System/Libraries
28 COMPONENT_SRC= xxHash-$(COMPONENT_VERSION)
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).zip
30 COMPONENT_ARCHIVE_URL= https://github.com/Cyan4973/xxHash/archive/refs/tags/v$(COMPONENT_VERSION).zip
31 COMPONENT_ARCHIVE_HASH= sha256:a33d7e8798bebb297095b715f93a71c5e535919434ce27ddc65e72e4e0fda3b9
32 COMPONENT_LICENSE= BSD 2-Clause License
34 TEST_TARGET=$(NO_TESTS) # if no testsuite enabled
35 include $(WS_MAKE_RULES)/common.mk
37 COMPONENT_INSTALL_ENV += PREFIX=$(USRDIR)
38 COMPONENT_INSTALL_ENV += LIBDIR=$(USRLIBDIR.64)
39 COMPONENT_INSTALL_ENV += MANDIR=$(USRSHAREMAN1DIR)
41 # For some reason the Makefile generates output under both usr and usr/local prefixes...
42 # For simplicity and cleaniness remove the usr/local version before the sample-manifest script
43 # generates it's output.
44 COMPONENT_POST_INSTALL_ACTION += rm -rf $(PROTO_DIR)/usr/local
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += system/library