summaryrefslogtreecommitdiff
path: root/package/resource-agents/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/resource-agents/Makefile')
-rw-r--r--package/resource-agents/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/resource-agents/Makefile b/package/resource-agents/Makefile
new file mode 100644
index 000000000..50b5fafe7
--- /dev/null
+++ b/package/resource-agents/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= resource-agents
+PKG_VERSION:= 3.9.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= b5d0c178082ff186c36ab145b5bbf5df
+PKG_DESCR:= Resource agents for clusters
+PKG_SECTION:= ha
+PKG_URL:= https://github.com/ClusterLabs/resource-agents
+PKG_SITES:= http://openadk.org/distfiles/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,RESOURCE_AGENTS,resource-agents,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+resource-agents-install:
+ $(INSTALL_DIR) $(IDIR_RESOURCE_AGENTS)/usr/share/cluster
+ $(CP) $(WRKINST)/usr/share/cluster/*.sh \
+ $(IDIR_RESOURCE_AGENTS)/usr/share/cluster
+
+include ${TOPDIR}/mk/pkg-bottom.mk