From: Schantl Stefan Date: Fri, 19 Nov 2010 10:51:15 +0000 (+0100) Subject: libcgroup: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=274ff92165d809dede41e6ad78c2436170cf939c;p=ipfire-3.x.git libcgroup: New package. --- diff --git a/pkgs/core/libcgroup/libcgroup.nm b/pkgs/core/libcgroup/libcgroup.nm new file mode 100644 index 000000000..cc0f6927b --- /dev/null +++ b/pkgs/core/libcgroup/libcgroup.nm @@ -0,0 +1,66 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = libcgroup +PKG_VER = 0.35.1 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = Development/Libraries +PKG_URL = http://libcg.sourceforge.net/ +PKG_LICENSE = LGPLv2+ +PKG_SUMMARY = Tools and libraries to control and monitor control groups. + +PKG_PACKAGES += $(PKG_NAME_REAL)-devel + +PKG_BUILD_DEPS+= bison gcc-c++ flex + +define PKG_DESCRIPTION + Control groups infrastructure. The tools and library help manipulate, \ + control, administrate and monitor control groups and the associated \ + controllers. +endef + +PKG_TARBALL = $(THISAPP).tar.bz2 + +CONFIGURE_OPTIONS += \ + --libdir=/lib \ + --disable-pam \ + --disable-tools \ + --disable-daemon + +#define STAGE_TEST +# cd $(DIR_APP) && make check +#endef + +define STAGE_INSTALL_CMDS + rm -rf $(BUILDROOT)/etc + + -mkdir -pv $(BUILDROOT)/usr/lib + rm -vf $(BUILDROOT)/lib/libcgroup.so + ln -svf ../../lib/libcgroup.so.1 $(BUILDROOT)/usr/lib/libcgroup.so +endef +