2014-12-10 17:21:02 +01:00
|
|
|
# Template file for 'cgmanager'
|
|
|
|
pkgname=cgmanager
|
2015-01-18 19:16:27 +01:00
|
|
|
version=0.35
|
2015-02-04 13:21:40 +01:00
|
|
|
revision=2
|
2014-12-10 17:21:02 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-distro=void"
|
2015-02-04 13:21:40 +01:00
|
|
|
hostmakedepends="help2man pkg-config"
|
2014-12-10 17:21:02 +01:00
|
|
|
makedepends="dbus-devel libnih-devel"
|
|
|
|
short_desc="A daemon for managing Linux control groups"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
2015-02-04 13:21:40 +01:00
|
|
|
homepage="https://linuxcontainers.org/cgmanager/introduction/"
|
|
|
|
distfiles="https://linuxcontainers.org/downloads/cgmanager/cgmanager-${version}.tar.gz"
|
|
|
|
checksum=a2939edf1ff687573c6d0e95900abf83078af25bb91060d9d5daac5769afaa9b
|
2014-12-10 17:21:02 +01:00
|
|
|
|
|
|
|
libcgmanager_package() {
|
|
|
|
short_desc+=" - runtime library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
libcgmanager-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2015-02-04 13:21:40 +01:00
|
|
|
depends="${makedepends} lib${sourcepkg}-${version}_${revision}"
|
2014-12-10 17:21:02 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|