2013-10-02 14:46:04 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libcgroup
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-06-03 14:52:30 +02:00
|
|
|
LIBCGROUP_VERSION = 0.41
|
2013-10-02 14:46:04 +02:00
|
|
|
LIBCGROUP_SOURCE = libcgroup-$(LIBCGROUP_VERSION).tar.bz2
|
2014-06-03 14:52:30 +02:00
|
|
|
LIBCGROUP_SITE = http://downloads.sourceforge.net/project/libcg/libcgroup/v$(LIBCGROUP_VERSION)
|
2013-10-02 14:46:04 +02:00
|
|
|
LIBCGROUP_LICENSE = LGPLv2.1
|
|
|
|
LIBCGROUP_LICENSE_FILES = COPYING
|
2013-10-30 19:12:02 +01:00
|
|
|
LIBCGROUP_DEPENDENCIES = host-bison host-flex
|
2013-10-02 14:46:04 +02:00
|
|
|
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 = \
|
2014-05-12 05:27:04 +02:00
|
|
|
CXXFLAGS="$(TARGET_CXXFLAGS) -U_FILE_OFFSET_BITS" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS"
|
2013-10-02 14:46:04 +02:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBCGROUP_CONF_OPTS = \
|
2013-10-02 14:46:04 +02:00
|
|
|
--disable-tools \
|
|
|
|
--disable-daemon \
|
|
|
|
--disable-initscript-install
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBCGROUP_DEPENDENCIES += linux-pam
|
|
|
|
LIBCGROUP_CONF_OPTS += --enable-pam
|
2013-10-02 14:46:04 +02:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
LIBCGROUP_CONF_OPTS += --disable-pam
|
2013-10-02 14:46:04 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|