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
|
|
|
|
revision=1
|
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"
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="flex"
|
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"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
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
|
|
|
|
2014-08-31 08:35:22 +00:00
|
|
|
libcgroup-utils_package() {
|
|
|
|
short_desc+=" - utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/sbin
|
|
|
|
vmove usr/share/man
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|