Makefile 950 B

12345678910111213141516171819202122232425262728
  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:= resource-agents
  5. PKG_VERSION:= 3.9.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b5d0c178082ff186c36ab145b5bbf5df
  8. PKG_DESCR:= Resource agents for clusters
  9. PKG_SECTION:= ha
  10. PKG_URL:= https://github.com/ClusterLabs/resource-agents
  11. PKG_SITES:= http://openadk.org/distfiles/
  12. PKG_CFLINE_RESOURCE_AGENTS:= depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
  13. PKG_HOST_DEPENDS:= !darwin
  14. PKG_ARCH_DEPENDS:= x86
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,RESOURCE_AGENTS,resource-agents,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. resource-agents-install:
  18. $(INSTALL_DIR) $(IDIR_RESOURCE_AGENTS)/usr/share/cluster
  19. $(CP) $(WRKINST)/usr/share/cluster/*.sh \
  20. $(IDIR_RESOURCE_AGENTS)/usr/share/cluster
  21. include ${TOPDIR}/mk/pkg-bottom.mk