2011-11-05 09:39:57 +01:00
|
|
|
# Template file for 'libcgroup'
|
|
|
|
pkgname=libcgroup
|
2014-08-31 10:35:22 +02:00
|
|
|
version=0.41
|
|
|
|
revision=1
|
2011-11-05 09:39:57 +01:00
|
|
|
build_style=gnu-configure
|
2012-08-09 09:33:49 +02:00
|
|
|
configure_args="--enable-pam-module-dir=/usr/lib/security"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="flex"
|
2014-08-31 10:35:22 +02:00
|
|
|
makedepends="pam-devel"
|
2011-11-05 09:39:57 +01: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 09:33:49 +02:00
|
|
|
homepage="http://libcg.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/libcg/$pkgname-$version.tar.bz2"
|
2014-08-31 10:35:22 +02:00
|
|
|
checksum=e4e38bdc7ef70645ce33740ddcca051248d56b53283c0dc6d404e17706f6fb51
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2014-08-31 10:35:22 +02:00
|
|
|
libcgroup-utils_package() {
|
|
|
|
short_desc+=" - utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/sbin
|
|
|
|
vmove usr/share/man
|
|
|
|
}
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
libcgroup-devel_package() {
|
2014-02-20 17:06:53 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-20 17:06:53 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|