libgtk3: fix runtime dependencies
[openadk.git] / package / drbd-utils / Makefile
blob26445fbe7d513d3ca6e3e5851a8156a54ffea8a1
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
6 PKG_NAME:= drbd-utils
7 PKG_VERSION:= 8.9.6
8 PKG_RELEASE:= 1
9 PKG_HASH:= 297b77c9b3f88de2e7dae459234f2753ea4fc2805282b2d276e35cf51e292913
10 PKG_DESCR:= admin tools for drbd-utils
11 PKG_SECTION:= sys/fs
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 \
22 --without-manual \
23 --with-pacemaker \
24 --without-heartbeat \
25 --without-km \
26 --without-xen \
27 --without-udev
29 drbd-utils-install:
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