Makefile 890 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:= icinga
  5. PKG_VERSION:= 1.6.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7b32e589235dd74ea020f12cbc90ec31
  8. PKG_DESCR:= network monitoring
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpthread
  11. PKG_URL:= http://www.icinga.org/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=icinga/1.6.1/}
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,ICINGA,icinga,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --sysconfdir=/etc/icinga
  16. icinga-install:
  17. $(INSTALL_DIR) $(IDIR_ICINGA)/etc/icinga/modules
  18. $(CP) ./src/etc/icinga/* $(IDIR_ICINGA)/etc/icinga
  19. $(INSTALL_DIR) $(IDIR_ICINGA)/usr/bin
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/icinga \
  21. $(IDIR_ICINGA)/usr/bin
  22. include ${TOPDIR}/mk/pkg-bottom.mk