38ceccb579
- Remove patch (already in version)
- Update hash of LICENSE file and remove xxhsum.c from
XXHASH_LICENSE_FILES as LICENSE contains both licenses
(BSD-2-Clause and GPL-2.0+) since
330444389b
- Update XXHASH_LICENSE to specify that BSD-2-Clause is for the library
and GPL-2.0+ for xxhsum CLI
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 lines
588 B
Makefile
21 lines
588 B
Makefile
################################################################################
|
|
#
|
|
# xxhash
|
|
#
|
|
################################################################################
|
|
|
|
XXHASH_VERSION = 0.7.2
|
|
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))
|