1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 297b77c9b3f88de2e7dae459234f2753ea4fc2805282b2d276e35cf51e292913
10 PKG_DESCR
:= admin tools for drbd-utils
12 PKG_SITES
:= http
://oss.linbit.com
/drbd
/
14 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
16 include $(ADK_TOPDIR
)/mk
/package.mk
18 $(eval
$(call PKG_template
,DRBD_UTILS
,drbd-utils
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
20 XAKE_FLAGS
+= GENETLINK_H
=$(STAGING_TARGET_DIR
)/usr
/include/linux
/genetlink.h
21 CONFIGURE_ARGS
+= --with-distro
=generic \
30 $(INSTALL_DIR
) $(IDIR_DRBD_UTILS
)/etc
31 $(CP
) .
/files
/drbd.conf
$(IDIR_DRBD_UTILS
)/etc
32 $(INSTALL_DIR
) $(IDIR_DRBD_UTILS
)/usr
/lib
/drbd
33 $(INSTALL_DIR
) $(IDIR_DRBD_UTILS
)/usr
/sbin
34 $(CP
) $(WRKINST
)/usr
/lib
/drbd
/* \
35 $(IDIR_DRBD_UTILS
)/usr
/lib
/drbd
/
36 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/drbd
* \
37 $(IDIR_DRBD_UTILS
)/usr
/sbin
39 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk