void-packages/srcpkgs/cgmanager/template
2015-01-18 19:20:53 +01:00

35 lines
912 B
Text

# Template file for 'cgmanager'
pkgname=cgmanager
version=0.35
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=e73698b2ca16f63d4254df83fb73ccca2b4b48d48cca91e6b2c44b47130e5376
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
}
}