2013-06-21 00:17:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# flot
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-06-02 22:11:13 +02:00
|
|
|
FLOT_VERSION = 0.8.3
|
2013-04-12 04:15:20 +02:00
|
|
|
FLOT_SITE = http://www.flotcharts.org/downloads
|
|
|
|
FLOT_LICENSE = MIT
|
|
|
|
FLOT_LICENSE_FILES = LICENSE.txt
|
2011-12-19 00:01:43 +01:00
|
|
|
FLOT_FILES = jquery.flot $(addprefix jquery.flot.,\
|
2013-04-12 04:15:20 +02:00
|
|
|
$(if $(BR2_PACKAGE_FLOT_CANVAS),canvas) \
|
2013-05-17 11:34:08 +02:00
|
|
|
$(if $(BR2_PACKAGE_FLOT_CATEGORIES),categories) \
|
|
|
|
$(if $(BR2_PACKAGE_FLOT_CROSSHAIR),crosshair) \
|
|
|
|
$(if $(BR2_PACKAGE_FLOT_ERRORBARS),errorbars) \
|
2013-02-13 06:25:45 +01:00
|
|
|
$(if $(BR2_PACKAGE_FLOT_FILLBETWEEN),fillbetween) \
|
2013-05-17 11:34:08 +02:00
|
|
|
$(if $(BR2_PACKAGE_FLOT_IMAGE),image) \
|
2011-12-19 00:01:43 +01:00
|
|
|
$(if $(BR2_PACKAGE_FLOT_NAVIGATE),navigate) \
|
|
|
|
$(if $(BR2_PACKAGE_FLOT_PIE),pie) \
|
|
|
|
$(if $(BR2_PACKAGE_FLOT_RESIZE),resize) \
|
|
|
|
$(if $(BR2_PACKAGE_FLOT_SELECTION),selection) \
|
|
|
|
$(if $(BR2_PACKAGE_FLOT_STACK),stack) \
|
|
|
|
$(if $(BR2_PACKAGE_FLOT_SYMBOL),symbol) \
|
|
|
|
$(if $(BR2_PACKAGE_FLOT_THRESHOLD),threshold) \
|
2013-05-17 11:34:08 +02:00
|
|
|
$(if $(BR2_PACKAGE_FLOT_TIME),time) \
|
2011-12-19 00:01:43 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
define FLOT_INSTALL_TARGET_CMDS
|
|
|
|
for i in $(FLOT_FILES); do \
|
2014-11-30 15:18:29 +01:00
|
|
|
$(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js || exit 1; \
|
2011-12-19 00:01:43 +01:00
|
|
|
done
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|