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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= monit
  5. PKG_VERSION:= 5.6
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 38e09bd8b39abc59e6b9a9bb7a78f7eac2b02a92f4de1f3a6dc24e84dfedae0d
  8. PKG_DESCR:= utility for system services monitoring
  9. PKG_SECTION:= sys/misc
  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 ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk