blob: 47ead7507e72ebe0be2e1c19eae3d8fff59bf378 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
################################################################################
#
# xxhash
#
################################################################################
XXHASH_VERSION = r40
XXHASH_SITE = $(call github,Cyan4973,xxHash,$(XXHASH_VERSION))
XXHASH_LICENSE = BSD-2c, GPLv2+
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))
|