kumquat-buildroot/package/duktape/duktape.mk
Fabrice Fontaine 6855641870 package/duktape: bump to version 2.5.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-21 23:03:20 +01:00

28 lines
809 B
Makefile

################################################################################
#
# duktape
#
################################################################################
DUKTAPE_VERSION = 2.5.0
DUKTAPE_SITE = $(call github,svaarala,duktape-releases,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))