xref: /OK3568_Linux_fs/buildroot/package/flot/flot.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# flot
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunFLOT_VERSION = 0.8.3
8*4882a593SmuzhiyunFLOT_SITE = http://www.flotcharts.org/downloads
9*4882a593SmuzhiyunFLOT_LICENSE = MIT
10*4882a593SmuzhiyunFLOT_LICENSE_FILES = LICENSE.txt
11*4882a593SmuzhiyunFLOT_FILES = jquery.flot $(addprefix jquery.flot.,\
12*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_CANVAS),canvas) \
13*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_CATEGORIES),categories) \
14*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_CROSSHAIR),crosshair) \
15*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_ERRORBARS),errorbars) \
16*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_FILLBETWEEN),fillbetween) \
17*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_IMAGE),image) \
18*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_NAVIGATE),navigate) \
19*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_PIE),pie) \
20*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_RESIZE),resize) \
21*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_SELECTION),selection) \
22*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_STACK),stack) \
23*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_SYMBOL),symbol) \
24*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_THRESHOLD),threshold) \
25*4882a593Smuzhiyun	$(if $(BR2_PACKAGE_FLOT_TIME),time) \
26*4882a593Smuzhiyun	)
27*4882a593Smuzhiyun
28*4882a593Smuzhiyundefine FLOT_INSTALL_TARGET_CMDS
29*4882a593Smuzhiyun	for i in $(FLOT_FILES); do \
30*4882a593Smuzhiyun		$(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js || exit 1; \
31*4882a593Smuzhiyun	done
32*4882a593Smuzhiyunendef
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun$(eval $(generic-package))
35