2015-07-16 22:59:35 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# xxhash
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-08-21 22:01:15 +02:00
|
|
|
XXHASH_VERSION = v0.6.5
|
2015-07-16 22:59:35 +02:00
|
|
|
XXHASH_SITE = $(call github,Cyan4973,xxHash,$(XXHASH_VERSION))
|
2017-03-30 15:43:39 +02:00
|
|
|
XXHASH_LICENSE = BSD-2-Clause, GPL-2.0+
|
2015-07-16 22:59:35 +02:00
|
|
|
XXHASH_LICENSE_FILES = LICENSE xxhsum.c
|
|
|
|
|
|
|
|
define XXHASH_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) xxhsum
|
|
|
|
endef
|
|
|
|
|
|
|
|
define XXHASH_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/xxhsum $(TARGET_DIR)/usr/bin/xxhsum
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|