1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 6104ecbb12adc4fb91330d9949adfff4fe98b5a01d2249c3d840174d89704ca1
10 PKG_DESCR
:= round-robin database collecting daemon
11 PKG_SECTION
:= sys
/misc
13 PKG_BUILDDEP
:= rrdtool
14 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=rrdcollect
/}
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
18 ifneq (${ADK_PACKAGE_LIBRRD},)
19 RRDTOOL_LIBS
:= -lart_lgpl_2
-lfreetype
-lpng
22 include ${ADK_TOPDIR}/mk
/package.mk
24 $(eval
$(call PKG_template
,RRDCOLLECT
,rrdcollect
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 CONFIGURE_ENV
+= LIBS
="${RRDTOOL_LIBS} -lz" \
27 ac_cv_func_malloc_0_nonnull
=yes
28 CONFIGURE_ARGS
+= --enable-exec \
32 TARGET_CPPFLAGS
+= -DSOCKET_COMM
35 ${INSTALL_DIR} ${IDIR_RRDCOLLECT}/usr
/sbin
36 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/rrdcollect \
37 ${IDIR_RRDCOLLECT}/usr
/sbin
/
38 ${INSTALL_DIR} ${IDIR_RRDCOLLECT}/etc
39 ${INSTALL_DATA} .
/files
/rrdcollect.conf \
40 ${IDIR_RRDCOLLECT}/etc
/
42 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk