Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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:= 2
  7. PKG_MD5SUM:= b5d0c178082ff186c36ab145b5bbf5df
  8. PKG_DESCR:= Resource agents for clusters
  9. PKG_SECTION:= ha
  10. PKG_BUILDDEP:= glib cluster-glue
  11. PKG_URL:= https://github.com/ClusterLabs/resource-agents
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_LIBC_DEPENDS:= eglibc glibc musl
  14. PKG_ARCH_DEPENDS:= x86 x86_64
  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. CONFIGURE_ARGS+= --with-ocf-root=/usr/lib/ocf
  18. resource-agents-install:
  19. $(INSTALL_DIR) $(IDIR_RESOURCE_AGENTS)/usr/share/cluster
  20. $(CP) $(WRKINST)/usr/share/cluster/*.sh \
  21. $(IDIR_RESOURCE_AGENTS)/usr/share/cluster
  22. $(INSTALL_DIR) $(IDIR_RESOURCE_AGENTS)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/* $(IDIR_RESOURCE_AGENTS)/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk