buildrootschalter/package/explorercanvas/explorercanvas.mk
Fabio Porcedda ac9621d995 unzip: Use the "-q" option to silence unzipping of source files
Add and use the "UNZIP" variable instead of calling directly unzip
because the variable contains the "-q" option to silence "unzip" so it
doesn't show the list of files extracted just like when tar files are
being unpacked.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-02 22:48:50 +01:00

23 lines
668 B
Makefile

################################################################################
#
# explorercanvas
#
################################################################################
EXPLORERCANVAS_VERSION = r3
EXPLORERCANVAS_SITE = http://explorercanvas.googlecode.com/files
EXPLORERCANVAS_SOURCE = excanvas_$(EXPLORERCANVAS_VERSION).zip
EXPLORERCANVAS_LICENSE = Apache-2.0
EXPLORERCANVAS_LICENSE_FILES = COPYING
define EXPLORERCANVAS_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(DL_DIR)/$(EXPLORERCANVAS_SOURCE)
endef
define EXPLORERCANVAS_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/excanvas.compiled.js \
$(TARGET_DIR)/var/www/excanvas.js
endef
$(eval $(generic-package))