2013-10-02 14:46:04 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libcgroup
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-04-16 22:34:12 +02:00
|
|
|
LIBCGROUP_VERSION = 0.42.2
|
2013-10-02 14:46:04 +02:00
|
|
|
LIBCGROUP_SOURCE = libcgroup-$(LIBCGROUP_VERSION).tar.bz2
|
2021-04-16 22:34:12 +02:00
|
|
|
LIBCGROUP_SITE = https://github.com/libcgroup/libcgroup/releases/download/v$(LIBCGROUP_VERSION)
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBCGROUP_LICENSE = LGPL-2.1
|
2013-10-02 14:46:04 +02:00
|
|
|
LIBCGROUP_LICENSE_FILES = COPYING
|
2021-04-16 22:34:13 +02:00
|
|
|
LIBCGROUP_CPE_ID_VENDOR = libcgroup_project
|
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-daemon \
|
|
|
|
--disable-initscript-install
|
|
|
|
|
2015-08-24 12:49:53 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBCGROUP_TOOLS),y)
|
|
|
|
LIBCGROUP_CONF_OPTS += --enable-tools
|
|
|
|
else
|
|
|
|
LIBCGROUP_CONF_OPTS += --disable-tools
|
|
|
|
endif
|
|
|
|
|
2013-10-02 14:46:04 +02:00
|
|
|
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))
|