void-packages/srcpkgs/cgmanager/template

32 lines
890 B
Bash
Raw Normal View History

2014-12-10 17:21:02 +01:00
# Template file for 'cgmanager'
pkgname=cgmanager
2015-05-28 07:37:21 +02:00
version=0.37
revision=1
2014-12-10 17:21:02 +01:00
build_style=gnu-configure
configure_args="--with-distro=void"
hostmakedepends="pkg-config"
2014-12-10 17:21:02 +01:00
makedepends="dbus-devel libnih-devel"
short_desc="A daemon for managing Linux control groups"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-12-10 17:21:02 +01:00
license="GPL-2"
homepage="https://linuxcontainers.org/cgmanager/introduction/"
distfiles="https://linuxcontainers.org/downloads/cgmanager/cgmanager-${version}.tar.gz"
2015-05-28 07:37:21 +02:00
checksum=8309e7f2ae5f4a6b52cc2fca62c098b18ecfe90bca2c9c034ba80f68aa427b6e
2014-12-10 17:21:02 +01: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 17:21:02 +01:00
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}