diff options
Diffstat (limited to 'package/explorercanvas/explorercanvas.mk')
-rw-r--r-- | package/explorercanvas/explorercanvas.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/explorercanvas/explorercanvas.mk b/package/explorercanvas/explorercanvas.mk new file mode 100644 index 000000000..93dcb1f83 --- /dev/null +++ b/package/explorercanvas/explorercanvas.mk @@ -0,0 +1,18 @@ +EXPLORERCANVAS_VERSION = r3 +EXPLORERCANVAS_SITE = http://explorercanvas.googlecode.com/files/ +EXPLORERCANVAS_SOURCE = excanvas_$(EXPLORERCANVAS_VERSION).zip + +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 + +define EXPLORERCANVAS_UNINSTALL_TARGET_CMDS + rm -f $(TARGET_DIR)/var/www/excanvas.js +endef + +$(eval $(call GENTARGETS)) |