summaryrefslogtreecommitdiff
path: root/package/resource-agents/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-08 11:42:06 +0200
commit6bde5bd7302d9eeca63d55c8b57a6c544e56fe8c (patch)
tree6e81df59d768d51bbbff1e4f8de8c9ddfefa1213 /package/resource-agents/Makefile
parentb35c2c31271fbaa05c5839133f623c84324e34b7 (diff)
push pacemaker stuff in a usable state.
Diffstat (limited to 'package/resource-agents/Makefile')
-rw-r--r--package/resource-agents/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/resource-agents/Makefile b/package/resource-agents/Makefile
index 6611a579c..657529326 100644
--- a/package/resource-agents/Makefile
+++ b/package/resource-agents/Makefile
@@ -5,24 +5,28 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= resource-agents
PKG_VERSION:= 3.9.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= b5d0c178082ff186c36ab145b5bbf5df
PKG_DESCR:= Resource agents for clusters
PKG_SECTION:= ha
+PKG_BUILDDEP:= glib cluster-glue
PKG_URL:= https://github.com/ClusterLabs/resource-agents
PKG_SITES:= http://openadk.org/distfiles/
PKG_CFLINE_RESOURCE_AGENTS:= depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC
-PKG_HOST_DEPENDS:= !darwin
PKG_ARCH_DEPENDS:= x86
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,RESOURCE_AGENTS,resource-agents,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIGURE_ARGS+= --with-ocf-root=/usr/lib/ocf
+
resource-agents-install:
$(INSTALL_DIR) $(IDIR_RESOURCE_AGENTS)/usr/share/cluster
$(CP) $(WRKINST)/usr/share/cluster/*.sh \
$(IDIR_RESOURCE_AGENTS)/usr/share/cluster
+ $(INSTALL_DIR) $(IDIR_RESOURCE_AGENTS)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/* $(IDIR_RESOURCE_AGENTS)/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk