void-packages/srcpkgs/cgmanager/template

39 lines
1.0 KiB
Bash
Raw Normal View History

2014-12-10 17:21:02 +01:00
# Template file for 'cgmanager'
pkgname=cgmanager
2015-09-04 09:08:39 +02:00
version=0.39
revision=1
2014-12-10 17:21:02 +01:00
build_style=gnu-configure
2015-09-04 09:08:39 +02:00
configure_args="--sbindir=/usr/bin --with-distro=void --with-pamdir=/usr/lib/security"
2015-09-04 09:11:01 +02:00
hostmakedepends="automake libtool pkg-config"
2015-09-04 09:08:39 +02:00
makedepends="pam-devel dbus-devel libnih-devel"
2014-12-10 17:21:02 +01:00
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-09-04 09:08:39 +02:00
checksum=9e65487fb4e4aa0a6acd87ba7f8f00b8007d8c52608aa6d411e72e6fe9445b7b
2014-12-10 17:21:02 +01:00
2015-09-04 09:11:01 +02:00
pre_configure() {
autoreconf -fi
}
2015-08-11 08:52:41 +02:00
post_install() {
vsv $pkgname
}
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
}
}