summaryrefslogblamecommitdiff
path: root/user/cgmanager/APKBUILD
blob: 958ba8327a2fc828988be0eea1afffa676a33db4 (plain) (tree)





































                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=cgmanager
pkgver=0.41
pkgrel=0
pkgdesc="CGroup management daemon"
url="https://linuxcontainers.org/cgmanager/introduction/"
arch="all"
license="LGPL-2.1+ AND GPL-2.0-only"
depends=""
makedepends="help2man libnih-dev linux-pam-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://linuxcontainers.org/downloads/cgmanager/cgmanager-$pkgver.tar.gz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-init-script=openrc
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="e8ba64665a21d987cd835580c2b6bafbcb05e22ce7f6216762d04840957c2cd21fb571360e0206ae9143656beed88ff3396eb1f644052c05189093a665a705fd  cgmanager-0.41.tar.gz"