summaryrefslogblamecommitdiff
path: root/user/cgmanager/APKBUILD
blob: f4cad0309e6acd7243613a41f6879451735682b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
           





                                                         
                                                        



                                                                                 











                                         



                  


                                      
                                                                                                                                                                    
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=cgmanager
pkgver=0.42
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 popt-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://linuxcontainers.org/downloads/cgmanager/cgmanager-$pkgver.tar.gz"

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

check() {
	make check
}

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

sha512sums="d92113a6748084f1c0708f75c8bdf5de484d534bf00f664a5288902be887c2a1c7cf3d91afaab3331f0d573a86fbc6edb2fa1d37c070250cf53e0621213d7d74  cgmanager-0.42.tar.gz"