summaryrefslogtreecommitdiff
path: root/user/cgmanager
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-19 19:13:42 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-19 19:13:42 +0000
commit0f92cab3a1c7341ea53a8b73c29fa267828783f2 (patch)
tree0e8a362b2e1023ace0652593f93cedb332405529 /user/cgmanager
parentab3661ce16794daaeae24866a67a5ef417bb81f8 (diff)
downloadpackages-0f92cab3a1c7341ea53a8b73c29fa267828783f2.tar.gz
packages-0f92cab3a1c7341ea53a8b73c29fa267828783f2.tar.bz2
packages-0f92cab3a1c7341ea53a8b73c29fa267828783f2.tar.xz
packages-0f92cab3a1c7341ea53a8b73c29fa267828783f2.zip
user/cgmanager: new package
Diffstat (limited to 'user/cgmanager')
-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"