123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${ADK_TOPDIR}/rules.mk
- PKG_NAME:= rrdcollect
- PKG_VERSION:= 0.2.10
- PKG_RELEASE:= 1
- PKG_HASH:= 6104ecbb12adc4fb91330d9949adfff4fe98b5a01d2249c3d840174d89704ca1
- PKG_DESCR:= round-robin database collecting daemon
- PKG_SECTION:= sys/misc
- PKG_DEPENDS:= librrd
- PKG_BUILDDEP:= rrdtool
- PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=rrdcollect/}
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
- ifneq (${ADK_PACKAGE_LIBRRD},)
- RRDTOOL_LIBS:= -lart_lgpl_2 -lfreetype -lpng
- endif
- include ${ADK_TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,RRDCOLLECT,rrdcollect,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIGURE_ENV+= LIBS="${RRDTOOL_LIBS} -lz" \
- ac_cv_func_malloc_0_nonnull=yes
- CONFIGURE_ARGS+= --enable-exec \
- --without-rrdtool \
- --without-libpcre \
- --with-librrd
- TARGET_CPPFLAGS+= -DSOCKET_COMM
- rrdcollect-install:
- ${INSTALL_DIR} ${IDIR_RRDCOLLECT}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/rrdcollect \
- ${IDIR_RRDCOLLECT}/usr/sbin/
- ${INSTALL_DIR} ${IDIR_RRDCOLLECT}/etc
- ${INSTALL_DATA} ./files/rrdcollect.conf \
- ${IDIR_RRDCOLLECT}/etc/
- include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|