summaryrefslogtreecommitdiff
path: root/package/cluster-glue/Makefile
blob: a2d8f365ec7e949d38b0a676096aee7aa01349cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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:=		cluster-glue
PKG_VERSION:=		1.0.7
PKG_RELEASE:=		1
PKG_MD5SUM:=		237d396094a3cded73f9f0ad45558a21
PKG_DESCR:=		Cluster Glue library and tools
PKG_SECTION:=		ha
PKG_BUILDDEP:=		glib bzip2 e2fsprogs
PKG_URL:=		http://www.linux-ha.org/wiki/Cluster_Glue
PKG_SITES:=		http://openadk.org/distfiles/

PKG_CFLINE_CLUSTER_GLUE:=	depends on ADK_TARGET_LIB_GLIBC || ADK_TARGET_LIB_EGLIBC

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,CLUSTER_GLUE,cluster-glue,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

# disable honour cflags stuff
XAKE_FLAGS+=		GCC_HONOUR_COPTS=s
CONFIGURE_ENV+=		ac_cv_path_HELP2MAN=''
CONFIGURE_ARGS+=	--disable-bundled-ltdl \
			--enable-fatal-warnings=no

cluster-glue-install:
	$(INSTALL_DIR) $(IDIR_CLUSTER_GLUE)/usr/lib
	$(CP) $(WRKINST)/usr/lib/*.so* \
		$(IDIR_CLUSTER_GLUE)/usr/lib

include ${TOPDIR}/mk/pkg-bottom.mk