diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2013-01-07 08:12:47 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-02-05 18:54:16 +0100 |
commit | 97edfd56b61792e88ce2e98435522f6e36ce7efd (patch) | |
tree | 717f3bc67ae22f71d582ef869fe1c150996423f5 | |
parent | 7c936acaea25064ac733c6f1fc2bf041e8418aa0 (diff) | |
download | ptxdist-97edfd56b61792e88ce2e98435522f6e36ce7efd.tar.gz ptxdist-97edfd56b61792e88ce2e98435522f6e36ce7efd.tar.xz |
libcgroup: add package
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | rules/libcgroup.in | 12 | ||||
-rw-r--r-- | rules/libcgroup.make | 58 |
2 files changed, 70 insertions, 0 deletions
diff --git a/rules/libcgroup.in b/rules/libcgroup.in new file mode 100644 index 000000000..c1c52f8a7 --- /dev/null +++ b/rules/libcgroup.in @@ -0,0 +1,12 @@ +## SECTION=system_libraries + +config LIBCGROUP + tristate + prompt "libcgroup" + help + Control Groups provide a mechanism for aggregating/partitioning sets of tasks, + and all their future children, into hierarchical groups with specialized + behaviour. + + This library allows applications to manipulate, control, administrate and + monitor control groups and the associated controllers. diff --git a/rules/libcgroup.make b/rules/libcgroup.make new file mode 100644 index 000000000..d070abf25 --- /dev/null +++ b/rules/libcgroup.make @@ -0,0 +1,58 @@ +# -*-makefile-*- +# +# Copyright (C) 2012 by Wolfram Sang <w.sang@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LIBCGROUP) += libcgroup + +# +# Paths and names +# +LIBCGROUP_VERSION := 0.38 +LIBCGROUP_MD5 := f0f7d4060bf36ccc19d75dbf4f1695db +LIBCGROUP := libcgroup-$(LIBCGROUP_VERSION) +LIBCGROUP_SUFFIX := tar.bz2 +LIBCGROUP_URL := $(call ptx/mirror, SF, libcg/$(LIBCGROUP).$(LIBCGROUP_SUFFIX)) +LIBCGROUP_SOURCE := $(SRCDIR)/$(LIBCGROUP).$(LIBCGROUP_SUFFIX) +LIBCGROUP_DIR := $(BUILDDIR)/$(LIBCGROUP) +LIBCGROUP_LICENSE := LGPLv2.1 + +# +# autoconf +# +LIBCGROUP_CONF_TOOL := autoconf +LIBCGROUP_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-bindings \ + --disable-tools \ + --disable-pam \ + --enable-daemon + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libcgroup.targetinstall: + @$(call targetinfo) + + @$(call install_init, libcgroup) + @$(call install_fixup, libcgroup,PRIORITY,optional) + @$(call install_fixup, libcgroup,SECTION,base) + @$(call install_fixup, libcgroup,AUTHOR,"Wolfram Sang <w.sang@pengutronix.de>") + @$(call install_fixup, libcgroup,DESCRIPTION,missing) + + @$(call install_lib, libcgroup, 0, 0, 0644, libcgroup) + + @$(call install_finish, libcgroup) + + @$(call touch) + +# vim: syntax=make |