void-packages/srcpkgs/cgmanager/template

31 lines
890 B
Bash

# Template file for 'cgmanager'
pkgname=cgmanager
version=0.35
revision=3
build_style=gnu-configure
configure_args="--with-distro=void"
hostmakedepends="pkg-config"
makedepends="dbus-devel libnih-devel"
short_desc="A daemon for managing Linux control groups"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://linuxcontainers.org/cgmanager/introduction/"
distfiles="https://linuxcontainers.org/downloads/cgmanager/cgmanager-${version}.tar.gz"
checksum=a2939edf1ff687573c6d0e95900abf83078af25bb91060d9d5daac5769afaa9b
libcgmanager_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libcgmanager-devel_package() {
short_desc+=" - development files"
depends="${makedepends} lib${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}