2011-11-05 08:39:57 +00:00
|
|
|
# Template file for 'libcgroup'
|
|
|
|
pkgname=libcgroup
|
2014-08-31 08:35:22 +00:00
|
|
|
version=0.41
|
2015-04-26 15:36:49 +00:00
|
|
|
revision=3
|
2011-11-05 08:39:57 +00:00
|
|
|
build_style=gnu-configure
|
2012-08-09 07:33:49 +00:00
|
|
|
configure_args="--enable-pam-module-dir=/usr/lib/security"
|
2015-04-26 15:36:49 +00:00
|
|
|
hostmakedepends="flex libtool"
|
2014-08-31 08:35:22 +00:00
|
|
|
makedepends="pam-devel"
|
2011-11-05 08:39:57 +00:00
|
|
|
short_desc="Library that abstracts the control group file system in Linux"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-11-05 08:39:57 +00:00
|
|
|
license="LGPL-2.1"
|
2012-08-09 07:33:49 +00:00
|
|
|
homepage="http://libcg.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/libcg/$pkgname-$version.tar.bz2"
|
2014-08-31 08:35:22 +00:00
|
|
|
checksum=e4e38bdc7ef70645ce33740ddcca051248d56b53283c0dc6d404e17706f6fb51
|
2013-04-13 08:15:49 +00:00
|
|
|
|
2015-04-26 15:36:49 +00:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
|
|
|
}
|
|
|
|
|
2014-08-31 08:35:22 +00:00
|
|
|
libcgroup-utils_package() {
|
|
|
|
short_desc+=" - utilities"
|
2015-04-26 15:36:49 +00:00
|
|
|
conf_files="/etc/cgrules.conf /etc/cgconfig.conf"
|
|
|
|
system_groups="cgred"
|
2014-08-31 08:35:22 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/sbin
|
|
|
|
vmove usr/share/man
|
2015-04-26 15:36:49 +00:00
|
|
|
vconf samples/cgrules.conf
|
|
|
|
vconf samples/cgconfig.conf
|
|
|
|
vsv cgred
|
2014-08-31 08:35:22 +00:00
|
|
|
}
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
libcgroup-devel_package() {
|
2014-02-20 16:06:53 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-20 16:06:53 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|