summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/cgmanager/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/cgmanager/APKBUILD b/user/cgmanager/APKBUILD
new file mode 100644
index 000000000..958ba8327
--- /dev/null
+++ b/user/cgmanager/APKBUILD
@@ -0,0 +1,38 @@
+# 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"