Commit 1886506b authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

package: add explorercanvas



Explorercanvas is a HTML5 canvas tag emulation library for IE<9.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent a8342a52
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -323,6 +323,7 @@ endmenu
endif

menu "Javascript"
source "package/explorercanvas/Config.in"
source "package/flot/Config.in"
source "package/jquery/Config.in"
source "package/jquery-sparkline/Config.in"
+10 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_EXPLORERCANVAS
	bool "explorercanvas"
	help
	  Modern browsers like Firefox, Safari, Chrome and Opera
	  support the HTML5 canvas tag to allow 2D command-based
	  drawing. ExplorerCanvas brings the same functionality to
	  Internet Explorer (<v9). To use, web developers only need to
	  include a single script tag in their existing web pages.

	  http://excanvas.sf.net/
+18 −0
Original line number Diff line number Diff line
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))