void-packages/srcpkgs/cgmanager/template

36 lines
912 B
Plaintext

# Template file for 'cgmanager'
pkgname=cgmanager
version=0.33
revision=1
build_style=gnu-configure
configure_args="--with-distro=void"
hostmakedepends="automake libtool help2man pkg-config"
makedepends="dbus-devel libnih-devel"
short_desc="A daemon for managing Linux control groups"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://github.com/cgmanager/cgmanager"
distfiles="https://github.com/cgmanager/cgmanager/archive/v${version}.tar.gz"
checksum=4fe5e42564fb75db206fe25b7988100756dcebd0d8d9f75cbac908f2ce8dacb0
pre_configure() {
./bootstrap.sh
}
libcgmanager_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libcgmanager-devel_package() {
short_desc+=" - development files"
depends="lib${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}