summaryrefslogtreecommitdiff
path: root/package/cluster-glue/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-08-22 13:11:12 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-08-22 13:11:12 +0200
commit7e441f6ea56f6647a0ac599591e271fbe1c5dc23 (patch)
treed98db099628d37b8072b103550dbfb7e4b0ff03e /package/cluster-glue/Makefile
parentb5ef0800a597e0c87e169139838db5339e8fc6e4 (diff)
add libaio, update cluster-glue
Diffstat (limited to 'package/cluster-glue/Makefile')
-rw-r--r--package/cluster-glue/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/package/cluster-glue/Makefile b/package/cluster-glue/Makefile
index 170ae3a08..5e45c71ad 100644
--- a/package/cluster-glue/Makefile
+++ b/package/cluster-glue/Makefile
@@ -4,12 +4,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= cluster-glue
-PKG_VERSION:= 1.0.7
+PKG_VERSION:= 1.0.10
PKG_RELEASE:= 1
-PKG_MD5SUM:= 237d396094a3cded73f9f0ad45558a21
+PKG_MD5SUM:= 67e35a8e1a78376af039aa53644f0de2
PKG_DESCR:= Cluster Glue library and tools
PKG_SECTION:= ha
-PKG_BUILDDEP:= glib bzip2 e2fsprogs
+PKG_BUILDDEP:= glib bzip2 e2fsprogs libaio
+PKG_DEPENDS:= libaio
PKG_URL:= http://www.linux-ha.org/wiki/Cluster_Glue
PKG_SITES:= http://openadk.org/distfiles/
@@ -26,6 +27,17 @@ CONFIGURE_ENV+= ac_cv_path_HELP2MAN=''
CONFIGURE_ARGS+= --disable-bundled-ltdl \
--enable-fatal-warnings=no
+TARGET_CPPFLAGS+= -DCONFIG_LITTLE_ENDIAN
+ifeq (${CPU_ARCH},mips)
+TARGET_CPPFLAGS+= -DCONFIG_BIG_ENDIAN
+endif
+ifeq (${CPU_ARCH},mips64)
+TARGET_CPPFLAGS+= -DCONFIG_BIG_ENDIAN
+endif
+ifeq (${CPU_ARCH},ppc)
+TARGET_CPPFLAGS+= -DCONFIG_BIG_ENDIAN
+endif
+
cluster-glue-install:
$(INSTALL_DIR) $(IDIR_CLUSTER_GLUE)/usr/lib/heartbeat
$(CP) $(WRKINST)/usr/lib/*.so* \