kumquat-buildroot/package/libcgroup/libcgroup.mk
Gustavo Zacarias fd427bbabb libcgroup: also needs host-flex
Fixes:
http://autobuild.buildroot.net/results/b43/b43ef442facd5aa136a77db99e57e02cc7e39a94/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-10-30 22:47:03 +01:00

35 lines
1.0 KiB
Makefile

################################################################################
#
# libcgroup
#
################################################################################
LIBCGROUP_VERSION = 0.38
LIBCGROUP_SOURCE = libcgroup-$(LIBCGROUP_VERSION).tar.bz2
LIBCGROUP_SITE = http://downloads.sourceforge.net/project/libcg/libcgroup/v.038
LIBCGROUP_LICENSE = LGPLv2.1
LIBCGROUP_LICENSE_FILES = COPYING
LIBCGROUP_DEPENDENCIES = host-bison host-flex
LIBCGROUP_INSTALL_STAGING = YES
# Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h
# large file support. See https://bugzilla.redhat.com/show_bug.cgi?id=574992
# for more information.
LIBCGROUP_CONF_ENV = \
CXXFLAGS+="-U_FILE_OFFSET_BITS" \
CFLAGS+="-U_FILE_OFFSET_BITS"
LIBCGROUP_CONF_OPT = \
--disable-tools \
--disable-daemon \
--disable-initscript-install
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
LIBCGROUP_DEPENDENCIES += linux-pam
LIBCGROUP_CONF_OPT += --enable-pam
else
LIBCGROUP_CONF_OPT += --disable-pam
endif
$(eval $(autotools-package))