kumquat-buildroot/package/xxhash/xxhash.mk
Ed Swierk 2d6a1575ac xxhash: new package
"xxHash is an extremely fast hash algorithm, running at RAM speed
limits."

[Thomas:
 - tweak commit log title
 - add correct license and license files information, using the
   suggestion from Yann E. Morin
 - add $(TARGET_MAKE_ENV) in the environment in the build step.]

Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-19 15:52:40 +02:00

21 lines
567 B
Makefile

################################################################################
#
# 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))