summaryrefslogtreecommitdiff
path: root/package/drbd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-27 00:43:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-27 00:43:04 +0100
commitdb40ed98b297d0550c6971b096c87bf0debf59b1 (patch)
tree39bb950b98c4ca6292ce2850cd889c9ca1fd9eb6 /package/drbd/Makefile
parent45805efcda653a3e6d7577ac2956c8138b49c7fc (diff)
parent83e2707a887a4c495a42f7e59f9f332df6b759ab (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/drbd/Makefile')
-rw-r--r--package/drbd/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/drbd/Makefile b/package/drbd/Makefile
new file mode 100644
index 000000000..c8d69e2a0
--- /dev/null
+++ b/package/drbd/Makefile
@@ -0,0 +1,32 @@
+# 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:= drbd
+PKG_VERSION:= 8.3.8.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 551dae488006af86a33eab1eba407f48
+PKG_DESCR:= DRBD admin tools
+PKG_SECTION:= fs
+PKG_URL:= http://www.drbd.org/
+PKG_SITES:= http://oss.linbit.com/drbd/8.3/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,DRBD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --with-distro=generic \
+ --without-km \
+ --without-xen \
+ --without-udev
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_DRBD)/usr/lib/drbd
+ $(INSTALL_DIR) $(IDIR_DRBD)/usr/sbin
+ $(CP) $(WRKINST)/usr/lib/drbd/* \
+ $(IDIR_DRBD)/usr/lib/drbd/
+ $(INSTALL_BIN) $(WRKINST)/sbin/drbd* \
+ $(IDIR_DRBD)/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk