Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= corosync
  5. PKG_VERSION:= 1.3.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c58459a009a3a9d0b9c00e276a190d90
  8. PKG_DESCR:= Cluster Engine
  9. PKG_SECTION:= ha
  10. PKG_URL:= http://www.corosync.org/
  11. PKG_SITES:= http://openadk.org/distfiles/
  12. PKG_CFLINE_COROSYNC:= select ADK_KERNEL_IP_MULTICAST
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,COROSYNC,corosync,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ARGS+= --disable-nss
  16. CONFIGURE_ENV+= ac_cv_func_fnmatch_works=yes
  17. corosync-install:
  18. $(INSTALL_DIR) $(IDIR_COROSYNC)/etc/corosync
  19. $(CP) ./files/corosync.conf $(IDIR_COROSYNC)/etc/corosync
  20. $(INSTALL_DIR) $(IDIR_COROSYNC)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/lib*.so* \
  22. $(IDIR_COROSYNC)/usr/lib
  23. $(INSTALL_DIR) $(IDIR_COROSYNC)/usr/sbin
  24. $(CP) $(WRKINST)/usr/sbin/* \
  25. $(IDIR_COROSYNC)/usr/sbin
  26. $(INSTALL_DIR) $(IDIR_COROSYNC)/usr/libexec
  27. $(CP) $(WRKINST)/usr/libexec/* \
  28. $(IDIR_COROSYNC)/usr/libexec
  29. include ${TOPDIR}/mk/pkg-bottom.mk