mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-05 17:37:43 +00:00
package: Add rrdtool package
[Peter: use hook to remove examples] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
0201ffcd16
commit
5d73b07ee7
2
CHANGES
2
CHANGES
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
Alpha, Cris, IA64 and Sparc64 architecture support removed.
|
Alpha, Cris, IA64 and Sparc64 architecture support removed.
|
||||||
|
|
||||||
New packages: gst-ffmpeg, libmpeg2, librsvg, xz
|
New packages: gst-ffmpeg, libmpeg2, librsvg, rrdtool, xz
|
||||||
|
|
||||||
Updated/fixed packages: acpid, alsa-lib, argus, at, autoconf,
|
Updated/fixed packages: acpid, alsa-lib, argus, at, autoconf,
|
||||||
automake, avahi, axel, beecrypt, berkeleydb, bind, bmon, boa,
|
automake, avahi, axel, beecrypt, berkeleydb, bind, bmon, boa,
|
||||||
|
@ -85,6 +85,9 @@ endmenu
|
|||||||
|
|
||||||
menu "Graphic libraries and applications (graphic/text)"
|
menu "Graphic libraries and applications (graphic/text)"
|
||||||
|
|
||||||
|
comment "Graphic applications"
|
||||||
|
source "package/rrdtool/Config.in"
|
||||||
|
|
||||||
comment "graphic libraries"
|
comment "graphic libraries"
|
||||||
source "package/directfb/Config.in"
|
source "package/directfb/Config.in"
|
||||||
source "package/directfb-examples/Config.in"
|
source "package/directfb-examples/Config.in"
|
||||||
|
15
package/rrdtool/Config.in
Normal file
15
package/rrdtool/Config.in
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
config BR2_PACKAGE_RRDTOOL
|
||||||
|
bool "rrdtool"
|
||||||
|
depends on BR2_USE_WCHAR
|
||||||
|
select BR2_PACKAGE_FREETYPE
|
||||||
|
select BR2_PACKAGE_LIBART
|
||||||
|
select BR2_PACKAGE_LIBPNG
|
||||||
|
select BR2_PACKAGE_ZLIB
|
||||||
|
help
|
||||||
|
RRDtool is the OpenSource industry standard, high performance
|
||||||
|
data logging and graphing system for time series data.
|
||||||
|
|
||||||
|
http://oss.oetiker.ch/rrdtool/
|
||||||
|
|
||||||
|
comment "rrdtool requires a toolchain with WCHAR support"
|
||||||
|
depends on !BR2_USE_WCHAR
|
28
package/rrdtool/rrdtool.mk
Normal file
28
package/rrdtool/rrdtool.mk
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# rrdtool
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
RRDTOOL_VERSION = 1.2.30
|
||||||
|
RRDTOOL_SITE = http://oss.oetiker.ch/rrdtool/pub
|
||||||
|
RRDTOOL_DEPENDENCIES = host-pkg-config freetype libart libpng zlib
|
||||||
|
RRDTOOL_INSTALL_STAGING = YES
|
||||||
|
RRDTOOL_CONF_ENV = rd_cv_ieee_works=yes rd_cv_null_realloc=nope \
|
||||||
|
ac_cv_func_mmap_fixed_mapped=yes
|
||||||
|
RRDTOOL_CONF_OPT = --disable-perl --disable-python --disable-ruby \
|
||||||
|
--disable-tcl --program-transform-name=''
|
||||||
|
|
||||||
|
define RRDTOOL_REMOVE_EXAMPLES
|
||||||
|
rm -rf $(TARGET_DIR)/usr/share/rrdtool/examples
|
||||||
|
endef
|
||||||
|
|
||||||
|
RRDTOOL_POST_INSTALL_TARGET_HOOKS += RRDTOOL_REMOVE_EXAMPLES
|
||||||
|
|
||||||
|
define RRDTOOL_UNINSTALL_TARGET_CMDS
|
||||||
|
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
|
||||||
|
rm -rf $(TARGET_DIR)/usr/share/rrdtool
|
||||||
|
rm -f $(TARGET_DIR)/usr/lib/librrd*
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package,rrdtool))
|
Loading…
x
Reference in New Issue
Block a user