components/library/libxxhash/Makefile | ●●●●● patch | view | raw | blame | history | |
components/library/libxxhash/libxxhash.p5m | ●●●●● patch | view | raw | blame | history | |
components/library/libxxhash/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/library/libxxhash/pkg5 | ●●●●● patch | view | raw | blame | history | |
components/library/libxxhash/xxhsum.p5m | ●●●●● patch | view | raw | blame | history |
components/library/libxxhash/Makefile
New file @@ -0,0 +1,45 @@ # # 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 2024 Till Wegmüller # BUILD_BITS=64 BUILD_STYLE=justmake include ../../../make-rules/shared-macros.mk COMPONENT_NAME= libxxhash COMPONENT_VERSION= 0.8.2 COMPONENT_SUMMARY= Extremely fast non-cryptographic hash algorithm COMPONENT_PROJECT_URL= http://www.xxhash.com/ COMPONENT_FMRI= library/$(COMPONENT_NAME) COMPONENT_FMRI.xxhsum = sysutils/xxhsum COMPONENT_CLASSIFICATION= System/Libraries COMPONENT_SRC= xxHash-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).zip COMPONENT_ARCHIVE_URL= https://github.com/Cyan4973/xxHash/archive/refs/tags/v$(COMPONENT_VERSION).zip COMPONENT_ARCHIVE_HASH= sha256:a33d7e8798bebb297095b715f93a71c5e535919434ce27ddc65e72e4e0fda3b9 COMPONENT_LICENSE= BSD 2-Clause License TEST_TARGET=$(NO_TESTS) # if no testsuite enabled include $(WS_MAKE_RULES)/common.mk COMPONENT_INSTALL_ENV += PREFIX=$(USRDIR) COMPONENT_INSTALL_ENV += LIBDIR=$(USRLIBDIR.64) # For some reason the Makefile generates output under both usr and usr/local prefixes... # For simplicity and cleaniness remove the usr/local version before the sample-manifest script # generates it's output. COMPONENT_POST_INSTALL_ACTION += rm -rf $(PROTO_DIR)/usr/local # Auto-generated dependencies REQUIRED_PACKAGES += system/library components/library/libxxhash/libxxhash.p5m
New file @@ -0,0 +1,32 @@ # # 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 2024 Till Wegmüller # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) license LICENSE license='$(COMPONENT_LICENSE)' file path=usr/include/xxh3.h file path=usr/include/xxhash.h file path=usr/lib/$(MACH64)/libxxhash.a link path=usr/lib/$(MACH64)/libxxhash.so target=libxxhash.so.$(HUMAN_VERSION) file path=usr/lib/$(MACH64)/libxxhash.so.$(HUMAN_VERSION) link path=usr/lib/$(MACH64)/libxxhash.so.0 target=libxxhash.so.$(HUMAN_VERSION) file path=usr/lib/$(MACH64)/pkgconfig/libxxhash.pc components/library/libxxhash/manifests/sample-manifest.p5m
New file @@ -0,0 +1,40 @@ # # 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 2024 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' link path=usr/bin/xxh128sum target=xxhsum link path=usr/bin/xxh32sum target=xxhsum link path=usr/bin/xxh64sum target=xxhsum file path=usr/bin/xxhsum file path=usr/include/xxh3.h file path=usr/include/xxhash.h file path=usr/lib/$(MACH64)/libxxhash.a link path=usr/lib/$(MACH64)/libxxhash.so target=libxxhash.so.$(HUMAN_VERSION) file path=usr/lib/$(MACH64)/libxxhash.so.$(HUMAN_VERSION) link path=usr/lib/$(MACH64)/libxxhash.so.0 target=libxxhash.so.$(HUMAN_VERSION) file path=usr/lib/$(MACH64)/pkgconfig/libxxhash.pc link path=usr/man/man1/xxh128sum.1 target=xxhsum.1 link path=usr/man/man1/xxh32sum.1 target=xxhsum.1 link path=usr/man/man1/xxh64sum.1 target=xxhsum.1 file path=usr/man/man1/xxhsum.1 components/library/libxxhash/pkg5
New file @@ -0,0 +1,10 @@ { "dependencies": [ "system/library" ], "fmris": [ "library/libxxhash", "sysutils/xxhsum" ], "name": "libxxhash" } components/library/libxxhash/xxhsum.p5m
New file @@ -0,0 +1,37 @@ # # 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 2024 Till Wegmüller # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=org.opensolaris.consolidation value=$(CONSOLIDATION) # License for the binary is GPL rather than the library which is BSD licensed. license cli/COPYING license='GNU GENERAL PUBLIC LICENSE' # This contains the statically linked binary and manpages no dependencies needed other than libc link path=usr/bin/xxh128sum target=xxhsum link path=usr/bin/xxh32sum target=xxhsum link path=usr/bin/xxh64sum target=xxhsum file path=usr/bin/xxhsum link path=usr/man/man1/xxh128sum.1 target=xxhsum.1 link path=usr/man/man1/xxh32sum.1 target=xxhsum.1 link path=usr/man/man1/xxh64sum.1 target=xxhsum.1 file path=usr/man/man1/xxhsum.1