Makefile 998 B

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