void-packages/srcpkgs/cgmanager/template

32 lines
909 B
Bash

# Template file for 'cgmanager'
pkgname=cgmanager
version=0.37
revision=2
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --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=8309e7f2ae5f4a6b52cc2fca62c098b18ecfe90bca2c9c034ba80f68aa427b6e
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
}
}