Move all to deprecated folder.
This commit is contained in:
22
deprecated/firmware/buildroot/package/libcgroup/Config.in
Normal file
22
deprecated/firmware/buildroot/package/libcgroup/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_LIBCGROUP
|
||||
bool "libcgroup"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
# libcgroup uses <fts.h> which is not included by default in uClibc
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
libcgroup is a library that abstracts the control
|
||||
group file system in Linux.
|
||||
|
||||
http://libcg.sourceforge.net/
|
||||
|
||||
if BR2_PACKAGE_LIBCGROUP
|
||||
|
||||
config BR2_PACKAGE_LIBCGROUP_TOOLS
|
||||
bool "install tools"
|
||||
help
|
||||
Include a set of command-line tools for managing cgroups.
|
||||
|
||||
endif
|
||||
|
||||
comment "libcgroup needs an (e)glibc toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 e4e38bdc7ef70645ce33740ddcca051248d56b53283c0dc6d404e17706f6fb51 libcgroup-0.41.tar.bz2
|
||||
39
deprecated/firmware/buildroot/package/libcgroup/libcgroup.mk
Normal file
39
deprecated/firmware/buildroot/package/libcgroup/libcgroup.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# libcgroup
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBCGROUP_VERSION = 0.41
|
||||
LIBCGROUP_SOURCE = libcgroup-$(LIBCGROUP_VERSION).tar.bz2
|
||||
LIBCGROUP_SITE = http://downloads.sourceforge.net/project/libcg/libcgroup/v$(LIBCGROUP_VERSION)
|
||||
LIBCGROUP_LICENSE = LGPLv2.1
|
||||
LIBCGROUP_LICENSE_FILES = COPYING
|
||||
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))
|
||||
Reference in New Issue
Block a user