6333d5d1dc
cpe:2.3🅰️libcgroup_project:libcgroup is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alibcgroup_project%3Alibcgroup Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# libcgroup
|
|
#
|
|
################################################################################
|
|
|
|
LIBCGROUP_VERSION = 0.42.2
|
|
LIBCGROUP_SOURCE = libcgroup-$(LIBCGROUP_VERSION).tar.bz2
|
|
LIBCGROUP_SITE = https://github.com/libcgroup/libcgroup/releases/download/v$(LIBCGROUP_VERSION)
|
|
LIBCGROUP_LICENSE = LGPL-2.1
|
|
LIBCGROUP_LICENSE_FILES = COPYING
|
|
LIBCGROUP_CPE_ID_VENDOR = libcgroup_project
|
|
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="$(TARGET_CXXFLAGS) -U_FILE_OFFSET_BITS" \
|
|
CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS"
|
|
|
|
LIBCGROUP_CONF_OPTS = \
|
|
--disable-daemon \
|
|
--disable-initscript-install
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCGROUP_TOOLS),y)
|
|
LIBCGROUP_CONF_OPTS += --enable-tools
|
|
else
|
|
LIBCGROUP_CONF_OPTS += --disable-tools
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
|
LIBCGROUP_DEPENDENCIES += linux-pam
|
|
LIBCGROUP_CONF_OPTS += --enable-pam
|
|
else
|
|
LIBCGROUP_CONF_OPTS += --disable-pam
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|