Thanks, applied as 7b236fda64943d89999f0be1095bd92c55b1520a. Michael
[sent from post-receive hook] On Fri, 21 Jan 2022 15:24:27 +0100, Christian Melki <[email protected]> wrote: > xxhash is a library consisting of, an extremely fast, > non-cryptographic hash function. > The hash is implemented in a few variants with slightly > different capabilities. > xxhash is also very usable for small data sets such > as hash tables / indexes etc. > > Signed-off-by: Christian Melki <[email protected]> > Message-Id: <[email protected]> > Signed-off-by: Michael Olbrich <[email protected]> > > diff --git a/rules/xxhash.in b/rules/xxhash.in > new file mode 100644 > index 000000000000..47e9c672a934 > --- /dev/null > +++ b/rules/xxhash.in > @@ -0,0 +1,7 @@ > +## SECTION=system_libraries > + > +config XXHASH > + tristate > + prompt "xxhash" > + help > + Extremely fast non-cryptographic hash library. > diff --git a/rules/xxhash.make b/rules/xxhash.make > new file mode 100644 > index 000000000000..792fe58f0ed0 > --- /dev/null > +++ b/rules/xxhash.make > @@ -0,0 +1,56 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2021 by Christian Melki <[email protected]> > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_XXHASH) += xxhash > + > +# > +# Paths and names > +# > +XXHASH_VERSION := 0.8.1 > +XXHASH_MD5 := b67c587f5ff4894253da0095ba7ea393 > +XXHASH := xxhash-$(XXHASH_VERSION) > +XXHASH_SUFFIX := tar.gz > +XXHASH_URL := > https://github.com/Cyan4973/xxHash/archive/refs/tags/v$(XXHASH_VERSION).$(XXHASH_SUFFIX) > +XXHASH_SOURCE := $(SRCDIR)/$(XXHASH).$(XXHASH_SUFFIX) > +XXHASH_DIR := $(BUILDDIR)/$(XXHASH) > +XXHASH_LICENSE := BSD-2-Clause > +XXHASH_LICENSE_FILES := \ > + file://LICENSE;md5=cdfe7764d5685d8e08b3df302885d7f3 > + > +# > ---------------------------------------------------------------------------- > +# Compile > +# > ---------------------------------------------------------------------------- > + > +XXHASH_CONF_TOOL := NO > + > +XXHASH_MAKE_ENV := \ > + $(CROSS_ENV) \ > + prefix=/usr > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/xxhash.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, xxhash) > + @$(call install_fixup, xxhash,PRIORITY,optional) > + @$(call install_fixup, xxhash,SECTION,base) > + @$(call install_fixup, xxhash,AUTHOR,"Christian Melki > <[email protected]>") > + @$(call install_fixup, xxhash,DESCRIPTION,missing) > + > + @$(call install_lib, xxhash, 0, 0, 0644, libxxhash) > + > + @$(call install_finish, xxhash) > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
