Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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-mgmt
  5. PKG_VERSION:= 2.0.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= be16a38588d1c518f53e64e7e48e1c90
  8. PKG_DESCR:= Pacemaker management daemon
  9. PKG_SECTION:= ha
  10. PKG_BUILDDEP:= pacemaker gnutls pam python2
  11. PKG_URL:= http://hg.clusterlabs.org/pacemaker/pygui/
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_LIBC_DEPENDS:= eglibc glibc musl
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,PACEMAKER_MGMT,pacemaker-mgmt,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. include $(TOPDIR)/mk/python.mk
  17. CONFIGURE_ENV+= PYTHON=$(PYTHON)
  18. CONFIGURE_ARGS+= --with-initdir=/etc/init.d \
  19. --with-ocf-root=/usr/lib/ocf \
  20. --without-ais-support \
  21. --disable-fatal-warnings
  22. TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/python2.7 \
  23. -I$(STAGING_DIR)/usr/include/pacemaker \
  24. -I$(STAGING_DIR)/usr/include/heartbeat
  25. pacemaker-mgmt-install:
  26. $(INSTALL_DIR) $(IDIR_PACEMAKER_MGMT)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/libhbmgmt*so* \
  28. $(IDIR_PACEMAKER_MGMT)/usr/lib
  29. $(INSTALL_DIR) $(IDIR_PACEMAKER_MGMT)/usr/lib/heartbeat
  30. $(INSTALL_BIN) $(WRKINST)/usr/lib/heartbeat/mgmtd \
  31. $(IDIR_PACEMAKER_MGMT)/usr/lib/heartbeat
  32. include ${TOPDIR}/mk/pkg-bottom.mk