docker-engine: new package
[buildroot-gz.git] / package / flot / flot.mk
blob58e3ff127631127ee5724bcced0a66cdf8e49c45
1 ################################################################################
3 # flot
5 ################################################################################
7 FLOT_VERSION = 0.8.3
8 FLOT_SITE = http://www.flotcharts.org/downloads
9 FLOT_LICENSE = MIT
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; \
31 done
32 endef
34 $(eval $(generic-package))