Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= drbd
  5. PKG_VERSION:= 8.4.4
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= b51815343c1a9151e2936b3b97520388
  8. PKG_DESCR:= DRBD admin tools
  9. PKG_SECTION:= fs
  10. PKG_URL:= http://www.drbd.org/
  11. PKG_SITES:= http://oss.linbit.com/drbd/8.4/
  12. PKG_LIBC_DEPENDS:= uclibc glibc
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,DRBD,drbd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. XAKE_FLAGS+= GENETLINK_H=$(STAGING_TARGET_DIR)/usr/include/linux/genetlink.h
  16. CONFIGURE_ARGS+= --with-distro=generic \
  17. --with-pacemaker \
  18. --without-heartbeat \
  19. --without-km \
  20. --without-xen \
  21. --without-udev
  22. post-install:
  23. $(INSTALL_DIR) $(IDIR_DRBD)/etc
  24. $(CP) ./files/drbd.conf $(IDIR_DRBD)/etc
  25. $(INSTALL_DIR) $(IDIR_DRBD)/usr/lib/drbd
  26. $(INSTALL_DIR) $(IDIR_DRBD)/usr/sbin
  27. $(CP) $(WRKINST)/usr/lib/drbd/* \
  28. $(IDIR_DRBD)/usr/lib/drbd/
  29. $(INSTALL_BIN) $(WRKINST)/usr/sbin/drbd* \
  30. $(IDIR_DRBD)/usr/sbin
  31. include ${TOPDIR}/mk/pkg-bottom.mk