Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= rrdtool
  7. PKG_VERSION:= 1.2.30
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 19b24f7184a8dbf7b48c1bbb565ad9fb
  10. MASTER_SITES:= http://oss.oetiker.ch/rrdtool/pub/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBRRD,librrd,${PKG_VERSION}-${PKG_RELEASE}))
  13. $(eval $(call PKG_template,RRDCGI,rrdcgi,${PKG_VERSION}-${PKG_RELEASE}))
  14. $(eval $(call PKG_template,RRDTOOL,rrdtool,${PKG_VERSION}-${PKG_RELEASE}))
  15. CONFIGURE_STYLE:= gnu
  16. CONFIGURE_ENV+= rd_cv_ieee_works=yes
  17. CONFIGURE_ARGS+= --enable-rrdcgi \
  18. --disable-mmap \
  19. --disable-perl \
  20. --disable-ruby \
  21. --disable-tcl \
  22. --disable-python \
  23. --without-x \
  24. --with-rrd-default-font=/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf
  25. TCPPFLAGS+= -I${STAGING_DIR}/usr/include/freetype2
  26. BUILD_STYLE:= auto
  27. INSTALL_STYLE:= auto
  28. post-install:
  29. ${INSTALL_DIR} ${IDIR_RRDTOOL}/usr/bin
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/rrdtool ${WRKINST}/usr/bin/rrdupdate \
  31. ${IDIR_RRDTOOL}/usr/bin/
  32. ${INSTALL_DIR} ${IDIR_RRDCGI}/usr/bin
  33. ${INSTALL_BIN} ${WRKINST}/usr/bin/rrdcgi ${IDIR_RRDCGI}/usr/bin/
  34. ${INSTALL_DIR} ${IDIR_LIBRRD}/usr/lib
  35. ${CP} ${WRKINST}/usr/lib/librrd.so.* ${IDIR_LIBRRD}/usr/lib/
  36. ${INSTALL_DIR} ${IDIR_LIBRRD}/usr/share/rrdtool/fonts
  37. ${CP} ${WRKBUILD}/src/DejaVuSansMono-Roman.ttf \
  38. ${IDIR_LIBRRD}/usr/share/rrdtool/fonts/
  39. include ${TOPDIR}/mk/pkg-bottom.mk