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
:= a056219c5c23b079c3354179f7a1b9f55d47e573a4cd3178f2ef4c15604288f0
10 PKG_DESCR
:= admin tools for drbd
12 PKG_URL
:= http
://www.drbd.org
/
13 PKG_SITES
:= http
://oss.linbit.com
/drbd
/8.4/
15 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
17 PKG_LIBC_DEPENDS
:= uclibc-ng glibc
19 include $(ADK_TOPDIR
)/mk
/package.mk
21 $(eval
$(call PKG_template
,DRBD
,drbd
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 XAKE_FLAGS
+= GENETLINK_H
=$(STAGING_TARGET_DIR
)/usr
/include/linux
/genetlink.h
24 CONFIGURE_ARGS
+= --with-distro
=generic \
32 $(INSTALL_DIR
) $(IDIR_DRBD
)/etc
33 $(CP
) .
/files
/drbd.conf
$(IDIR_DRBD
)/etc
34 $(INSTALL_DIR
) $(IDIR_DRBD
)/usr
/lib
/drbd
35 $(INSTALL_DIR
) $(IDIR_DRBD
)/usr
/sbin
36 $(CP
) $(WRKINST
)/usr
/lib
/drbd
/* \
37 $(IDIR_DRBD
)/usr
/lib
/drbd
/
38 $(INSTALL_BIN
) $(WRKINST
)/usr
/sbin
/drbd
* \
41 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk