12345678910111213141516171819202122232425262728293031323334353637 |
- # 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.4.1
- PKG_RELEASE:= 1
- PKG_MD5SUM:= 3af0cc49ee0b5005ea108c5ba92aa755
- PKG_DESCR:= DRBD admin tools
- PKG_SECTION:= fs
- PKG_URL:= http://www.drbd.org/
- PKG_SITES:= http://oss.linbit.com/drbd/8.4/
- include $(TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,DRBD,drbd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- XAKE_FLAGS+= GENETLINK_H=$(STAGING_DIR)/usr/include/linux/genetlink.h
- CONFIGURE_ARGS+= --with-distro=generic \
- --with-pacemaker \
- --without-heartbeat \
- --without-km \
- --without-xen \
- --without-udev
- post-install:
- $(INSTALL_DIR) $(IDIR_DRBD)/etc
- $(CP) ./files/drbd.conf $(IDIR_DRBD)/etc
- $(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
|