diff options
Diffstat (limited to 'community/cgmanager/APKBUILD')
-rw-r--r-- | community/cgmanager/APKBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/community/cgmanager/APKBUILD b/community/cgmanager/APKBUILD new file mode 100644 index 0000000000..d2c42e3a9c --- /dev/null +++ b/community/cgmanager/APKBUILD @@ -0,0 +1,54 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=cgmanager +pkgver=0.41 +pkgrel=1 +pkgdesc="nother daemon for managing control groups" +url="https://linuxcontainers.org/cgmanager/" +arch="all" +license="GPL" +depends="" +depends_dev="linux-pam-dev" +makedepends="$depends_dev linux-headers libnih-dev" +install="" +subpackages="$pkgname-dev" +source="https://linuxcontainers.org/downloads/cgmanager/cgmanager-$pkgver.tar.gz + cgmanager.initd + cgproxy.initd" + +builddir="$srcdir"/cgmanager-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-distro=gentoo \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la + install -Dm755 "$srcdir"/cgmanager.initd \ + "$pkgdir"/etc/init.d/cgmanager || return 1 + install -Dm755 "$srcdir"/cgproxy.initd \ + "$pkgdir"/etc/init.d/cgproxy || return 1 +} + +md5sums="6ebed9ed3bf0751eb3cde47a94c45340 cgmanager-0.41.tar.gz +29ad96ec5a4ddfc6d9fb7b3df8e2375f cgmanager.initd +10ad15961c3921d92af342908730c2ee cgproxy.initd" +sha256sums="29b155befb3ac233d5d29dbca7c791c8138bab01bfa78ea4757ebb88ce23b458 cgmanager-0.41.tar.gz +ce10491d71b1163e6a6b737dc65e1fae6b7d05b4bfaaa8a42c85c6c0e38fac66 cgmanager.initd +adb05f21ca89439f47c8e17283d4accb82860c44f7703807bc5142686a47ebf0 cgproxy.initd" +sha512sums="e8ba64665a21d987cd835580c2b6bafbcb05e22ce7f6216762d04840957c2cd21fb571360e0206ae9143656beed88ff3396eb1f644052c05189093a665a705fd cgmanager-0.41.tar.gz +1a6de3d90140b0c8e0871ab097bb3260f35dd4ad5f131ead8913f6168e41eb43cac38ab4c09eb792bfffc982353c0976c9ee6568299dc803058c0dd4381aa675 cgmanager.initd +3e7ed48d3d5b4c178ec038b6db53d693f98ac9dd2b5ba405cc0241ddb2a0d60632bd1aeb7b7bea6ee3cf15a66eb069690197d067f9c7d8b5d8654f509db0f230 cgproxy.initd" |