Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= pacemaker
  5. PKG_VERSION:= 1.0.11
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= bfe2127d31e5244d0106a5c290fd0dc2
  8. PKG_DESCR:= scalable High-Availability cluster resource manager
  9. PKG_SECTION:= ha
  10. PKG_DEPENDS:= python2
  11. PKG_URL:= http://www.clusterlabs.org/
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,PACEMAKER,pacemaker,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. # disable honour cflags stuff
  16. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  17. CONFIGURE_ARGS+= --includedir=$(STAGING_TARGET_DIR)/usr/include
  18. CONFIGURE_ENV+= ac_cv_path_HELP2MAN=''
  19. CFLAGS_FOR_BUILD+= -I$(STAGING_TARGET_DIR)/usr/include/heartbeat
  20. pacemaker-install:
  21. $(INSTALL_DIR) $(IDIR_PACEMAKER)/usr/lib
  22. $(CP) $(WRKINST)/usr/lib/lib*.so* \
  23. $(IDIR_PACEMAKER)/usr/lib
  24. $(INSTALL_DIR) $(IDIR_PACEMAKER)/usr/sbin
  25. $(CP) $(WRKINST)/usr/sbin/* \
  26. $(IDIR_PACEMAKER)/usr/sbin
  27. $(INSTALL_DIR) $(IDIR_PACEMAKER)/usr/libexec
  28. $(CP) $(WRKINST)/usr/libexec/* \
  29. $(IDIR_PACEMAKER)/usr/libexec
  30. $(INSTALL_DIR) $(IDIR_PACEMAKER)/usr/lib/python2.7/site-packages
  31. $(CP) $(WRKINST)/usr/lib/python2.7/site-packages/* \
  32. $(IDIR_PACEMAKER)/usr/lib/python2.7/site-packages/
  33. -find ${IDIR_PACEMAKER} -name "\*.pyc" -o -name "*\.pyo" -exec rm {} \;
  34. include ${TOPDIR}/mk/pkg-bottom.mk