blob: c2ddbbd607594c2cfb95fdbe231638b17ab8c86b [file] [log] [blame]
################################################################################
#
# xxhash
#
################################################################################
XXHASH_VERSION = 0.8.0
XXHASH_SITE = $(call github,Cyan4973,xxHash,v$(XXHASH_VERSION))
XXHASH_LICENSE = BSD-2-Clause (library), GPL-2.0+ (xxhsum)
XXHASH_LICENSE_FILES = LICENSE
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))