summaryrefslogtreecommitdiffstats
path: root/package/explorercanvas/explorercanvas.mk
blob: 976082abd306d292e55f673b8e6670c846d2e3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
################################################################################
#
# explorercanvas
#
################################################################################

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 $(generic-package))