libgtk3: remove non-existent configure options
[buildroot-gz.git] / package / libcgroup / libcgroup.mk
bloba4c3084c6c03f22f66eca8892d0dbc9ee8f65f7d
1 ################################################################################
3 # libcgroup
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 = \
23 --disable-daemon \
24 --disable-initscript-install
26 ifeq ($(BR2_PACKAGE_LIBCGROUP_TOOLS),y)
27 LIBCGROUP_CONF_OPTS += --enable-tools
28 else
29 LIBCGROUP_CONF_OPTS += --disable-tools
30 endif
32 ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
33 LIBCGROUP_DEPENDENCIES += linux-pam
34 LIBCGROUP_CONF_OPTS += --enable-pam
35 else
36 LIBCGROUP_CONF_OPTS += --disable-pam
37 endif
39 $(eval $(autotools-package))