1 ################################################################################
5 ################################################################################
8 FLOT_SITE
= http
://www.flotcharts.org
/downloads
10 FLOT_LICENSE_FILES
= LICENSE.txt
11 FLOT_FILES
= jquery.flot
$(addprefix jquery.flot.
,\
12 $(if
$(BR2_PACKAGE_FLOT_CANVAS
),canvas
) \
13 $(if
$(BR2_PACKAGE_FLOT_CATEGORIES
),categories
) \
14 $(if
$(BR2_PACKAGE_FLOT_CROSSHAIR
),crosshair
) \
15 $(if
$(BR2_PACKAGE_FLOT_ERRORBARS
),errorbars
) \
16 $(if
$(BR2_PACKAGE_FLOT_FILLBETWEEN
),fillbetween
) \
17 $(if
$(BR2_PACKAGE_FLOT_IMAGE
),image
) \
18 $(if
$(BR2_PACKAGE_FLOT_NAVIGATE
),navigate
) \
19 $(if
$(BR2_PACKAGE_FLOT_PIE
),pie
) \
20 $(if
$(BR2_PACKAGE_FLOT_RESIZE
),resize
) \
21 $(if
$(BR2_PACKAGE_FLOT_SELECTION
),selection
) \
22 $(if
$(BR2_PACKAGE_FLOT_STACK
),stack
) \
23 $(if
$(BR2_PACKAGE_FLOT_SYMBOL
),symbol
) \
24 $(if
$(BR2_PACKAGE_FLOT_THRESHOLD
),threshold
) \
25 $(if
$(BR2_PACKAGE_FLOT_TIME
),time
) \
28 define FLOT_INSTALL_TARGET_CMDS
29 for i in
$(FLOT_FILES
); do \
30 $(INSTALL
) -m
0644 -D
$(@D
)/$$i.min.js
$(TARGET_DIR
)/var
/www
/$$i.js || exit
1; \
34 $(eval
$(generic-package
))