void-packages/srcpkgs/cgmanager/template

32 lines
887 B
Bash
Raw Normal View History

2014-12-10 16:21:02 +00:00
# Template file for 'cgmanager'
pkgname=cgmanager
2015-01-18 18:16:27 +00:00
version=0.35
revision=3
2014-12-10 16:21:02 +00:00
build_style=gnu-configure
configure_args="--with-distro=void"
hostmakedepends="pkg-config"
2014-12-10 16:21:02 +00:00
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://linuxcontainers.org/cgmanager/introduction/"
distfiles="https://linuxcontainers.org/downloads/cgmanager/cgmanager-${version}.tar.gz"
checksum=a2939edf1ff687573c6d0e95900abf83078af25bb91060d9d5daac5769afaa9b
2014-12-10 16:21:02 +00:00
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}"
2014-12-10 16:21:02 +00:00
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}