1 ################################################################################
5 ################################################################################
7 LIBCGROUP_VERSION
= 0.41
8 LIBCGROUP_SOURCE
= libcgroup-
$(LIBCGROUP_VERSION
).
tar.bz2
9 LIBCGROUP_SITE
= http
://downloads.sourceforge.net
/project
/libcg
/libcgroup
/v
$(LIBCGROUP_VERSION
)
10 LIBCGROUP_LICENSE
= LGPLv2.1
11 LIBCGROUP_LICENSE_FILES
= COPYING
12 LIBCGROUP_DEPENDENCIES
= host-bison host-flex
13 LIBCGROUP_INSTALL_STAGING
= YES
15 # Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h
16 # large file support. See https://bugzilla.redhat.com/show_bug.cgi?id=574992
17 # for more information.
18 LIBCGROUP_CONF_ENV
= \
19 CXXFLAGS
="$(TARGET_CXXFLAGS) -U_FILE_OFFSET_BITS" \
20 CFLAGS
="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS"
22 LIBCGROUP_CONF_OPTS
= \
24 --disable-initscript-install
26 ifeq ($(BR2_PACKAGE_LIBCGROUP_TOOLS
),y
)
27 LIBCGROUP_CONF_OPTS
+= --enable-tools
29 LIBCGROUP_CONF_OPTS
+= --disable-tools
32 ifeq ($(BR2_PACKAGE_LINUX_PAM
),y
)
33 LIBCGROUP_DEPENDENCIES
+= linux-pam
34 LIBCGROUP_CONF_OPTS
+= --enable-pam
36 LIBCGROUP_CONF_OPTS
+= --disable-pam
39 $(eval
$(autotools-package
))