Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3af0cc49ee0b5005ea108c5ba92aa755
  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. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,DRBD,drbd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. XAKE_FLAGS+= GENETLINK_H=$(STAGING_DIR)/usr/include/linux/genetlink.h
  15. CONFIGURE_ARGS+= --with-distro=generic \
  16. --with-pacemaker \
  17. --without-heartbeat \
  18. --without-km \
  19. --without-xen \
  20. --without-udev
  21. post-install:
  22. $(INSTALL_DIR) $(IDIR_DRBD)/etc
  23. $(CP) ./files/drbd.conf $(IDIR_DRBD)/etc
  24. $(INSTALL_DIR) $(IDIR_DRBD)/usr/lib/drbd
  25. $(INSTALL_DIR) $(IDIR_DRBD)/usr/sbin
  26. $(CP) $(WRKINST)/usr/lib/drbd/* \
  27. $(IDIR_DRBD)/usr/lib/drbd/
  28. $(INSTALL_BIN) $(WRKINST)/sbin/drbd* \
  29. $(IDIR_DRBD)/usr/sbin
  30. include ${TOPDIR}/mk/pkg-bottom.mk