Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= monit
  5. PKG_VERSION:= 5.6
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 19dfc1ce8512e832134d06eedd96ba50
  8. PKG_DESCR:= An utility for system services monitoring
  9. PKG_SECTION:= admin
  10. PKG_DEPENDS:= libpthread libopenssl
  11. PKG_BUILDDEP:= openssl
  12. PKG_URL:= http://mmonit.com/monit/
  13. PKG_SITES:= http://www.tildeslash.com/monit/dist/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,MONIT,monit,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= libmonit_cv_setjmp_available=yes \
  17. libmonit_cv_vsnprintf_c99_conformant=yes
  18. CONFIGURE_ARGS+= --with-ssl --with-ssl-dir="${STAGING_TARGET_DIR}/usr" \
  19. --without-pam
  20. monit-install:
  21. ${INSTALL_DIR} ${IDIR_MONIT}/etc
  22. install -m0600 ${WRKBUILD}/monitrc ${IDIR_MONIT}/etc
  23. ${INSTALL_DIR} ${IDIR_MONIT}/usr/sbin
  24. ${INSTALL_BIN} ${WRKBUILD}/monit ${IDIR_MONIT}/usr/sbin
  25. include ${TOPDIR}/mk/pkg-bottom.mk