42 lines
1.0 KiB
Bash
42 lines
1.0 KiB
Bash
# Template file for 'cgmanager'
|
|
pkgname=cgmanager
|
|
version=0.42
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-distro=void --with-pamdir=/usr/lib/security"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="pam-devel dbus-devel libnih-devel popt-devel"
|
|
depends="dbus"
|
|
short_desc="Daemon for managing Linux control groups"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://linuxcontainers.org/cgmanager/introduction/"
|
|
distfiles="https://linuxcontainers.org/downloads/cgmanager/cgmanager-${version}.tar.gz"
|
|
checksum=ecc0a1f2ccc0ad3b2eb1807da861d9fafd4a8ad9283b15830f6c67992002d796
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vsv cgmanager
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|