Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= 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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,MONIT,monit,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= libmonit_cv_setjmp_available=yes \
  18. libmonit_cv_vsnprintf_c99_conformant=yes
  19. CONFIGURE_ARGS+= --with-ssl \
  20. --with-ssl-dir="${STAGING_TARGET_DIR}/usr" \
  21. --without-pam
  22. monit-install:
  23. ${INSTALL_DIR} ${IDIR_MONIT}/etc
  24. install -m0600 ${WRKBUILD}/monitrc ${IDIR_MONIT}/etc
  25. ${INSTALL_DIR} ${IDIR_MONIT}/usr/sbin
  26. ${INSTALL_BIN} ${WRKBUILD}/monit ${IDIR_MONIT}/usr/sbin
  27. include ${TOPDIR}/mk/pkg-bottom.mk