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"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-12-10 17:21:02 +01:00
|
|
|
license="GPL-2"
|
2015-02-04 13:21:40 +01:00
|
|
|
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"
|
2015-02-04 13:21:40 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|