Makefile 1.2 KB

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