Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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:= cluster-glue
  5. PKG_VERSION:= 1.0.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 237d396094a3cded73f9f0ad45558a21
  8. PKG_DESCR:= Cluster Glue library and tools
  9. PKG_SECTION:= ha
  10. PKG_BUILDDEP:= glib bzip2 e2fsprogs
  11. PKG_URL:= http://www.linux-ha.org/wiki/Cluster_Glue
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_CFLINE_CLUSTER_GLUE:= depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
  14. PKG_HOST_DEPENDS:= !darwin
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,CLUSTER_GLUE,cluster-glue,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. # disable honour cflags stuff
  18. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  19. CONFIGURE_ENV+= ac_cv_path_HELP2MAN=''
  20. CONFIGURE_ARGS+= --disable-bundled-ltdl \
  21. --enable-fatal-warnings=no
  22. cluster-glue-install:
  23. $(INSTALL_DIR) $(IDIR_CLUSTER_GLUE)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/*.so* \
  25. $(IDIR_CLUSTER_GLUE)/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk