blob: b3289f2ab562474039a1cc64d4c0a283b62cd15e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cgmanager
pkgver=0.42
pkgrel=1
pkgdesc="nother daemon for managing control groups"
url="https://linuxcontainers.org/cgmanager/"
arch="all"
license="LGPL-2.0-or-later"
depends_dev="linux-pam-dev"
makedepends="$depends_dev linux-headers libnih-dev popt-dev"
subpackages="$pkgname-dev $pkgname-openrc"
source="https://linuxcontainers.org/downloads/cgmanager/cgmanager-$pkgver.tar.gz
cgmanager.initd
cgproxy.initd"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-distro=gentoo \
--disable-static
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir"/cgmanager.initd "$pkgdir"/etc/init.d/cgmanager
install -Dm755 "$srcdir"/cgproxy.initd "$pkgdir"/etc/init.d/cgproxy
}
sha512sums="d92113a6748084f1c0708f75c8bdf5de484d534bf00f664a5288902be887c2a1c7cf3d91afaab3331f0d573a86fbc6edb2fa1d37c070250cf53e0621213d7d74 cgmanager-0.42.tar.gz
56aa4a19fb1f9c616fb753509b005b54593dff4033c19f0538478db8a504574d94bc93d3d8bdaf764f53a47214bc75ef66c954345339a28b3166201eb9321ae4 cgmanager.initd
11566556f4a464bb07bec71e27b0ad21cbbfec9fc2fae183c6b1eda76014e67c3065b8c0d4e54d098c781994960c72e9f8cfc1d6bbd66943a235c75560cd75f7 cgproxy.initd"
|