dfda62d326
- Use official tarball instead of github helper - Update indentation in hash file (two spaces) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
876 B
Makefile
30 lines
876 B
Makefile
################################################################################
|
|
#
|
|
# duktape
|
|
#
|
|
################################################################################
|
|
|
|
DUKTAPE_VERSION = 2.6.0
|
|
DUKTAPE_SOURCE = duktape-$(DUKTAPE_VERSION).tar.xz
|
|
DUKTAPE_SITE = \
|
|
https://github.com/svaarala/duktape/releases/download/v$(DUKTAPE_VERSION)
|
|
DUKTAPE_LICENSE = MIT
|
|
DUKTAPE_LICENSE_FILES = LICENSE.txt
|
|
DUKTAPE_INSTALL_STAGING = YES
|
|
|
|
define DUKTAPE_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary
|
|
endef
|
|
|
|
define DUKTAPE_INSTALL_STAGING_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \
|
|
INSTALL_PREFIX=$(STAGING_DIR)/usr install
|
|
endef
|
|
|
|
define DUKTAPE_INSTALL_TARGET_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \
|
|
INSTALL_PREFIX=$(TARGET_DIR)/usr install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|