1
0

Makefile 959 B

1234567891011121314151617181920212223242526272829
  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.2.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 19ee6247b7528947d151720767bcf9d3
  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,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --with-ssl --with-ssl-dir="${STAGING_TARGET_DIR}/usr"
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_MONIT}/etc
  19. install -m0600 ${WRKBUILD}/monitrc ${IDIR_MONIT}/etc/
  20. ${INSTALL_DIR} ${IDIR_MONIT}/usr/sbin
  21. ${INSTALL_BIN} ${WRKBUILD}/monit ${IDIR_MONIT}/usr/sbin/monit
  22. include ${TOPDIR}/mk/pkg-bottom.mk