e0c5439a16
Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
21 lines
578 B
Makefile
21 lines
578 B
Makefile
################################################################################
|
|
#
|
|
# xxhash
|
|
#
|
|
################################################################################
|
|
|
|
XXHASH_VERSION = v0.6.5
|
|
XXHASH_SITE = $(call github,Cyan4973,xxHash,$(XXHASH_VERSION))
|
|
XXHASH_LICENSE = BSD-2-Clause, GPL-2.0+
|
|
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))
|