From 0f92cab3a1c7341ea53a8b73c29fa267828783f2 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 19 Jan 2019 19:13:42 +0000 Subject: user/cgmanager: new package --- user/cgmanager/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 user/cgmanager/APKBUILD (limited to 'user/cgmanager') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2