lxc: update to 0.9.0.

This commit is contained in:
Juan RP 2014-01-16 17:10:26 +01:00
parent 7cdbf687fe
commit 5e077cccba
1 changed files with 26 additions and 23 deletions

View File

@ -1,37 +1,40 @@
# Template file for 'lxc' # Template file for 'lxc'
pkgname=lxc _desc="Linux Containers"
version=0.8.0
revision=2
build_style=gnu-configure
configure_args="--disable-apparmor"
makedepends="libcap-devel"
short_desc="LinuX Containers"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://lxc.sourceforge.net"
license="LGPL-2.1"
distfiles="http://lxc.sourceforge.net/download/lxc/lxc-${version}.tar.gz"
checksum=eac833730b94e423d4bef6834bc4a716437d2abd6ab8b24334c506aaaa08692c
long_desc="
The container technology is actively being pushed into the mainstream linux
kernel. It provides the resource management through the control groups aka
process containers and resource isolation through the namespaces.
The linux containers, lxc, aims to use these new functionalities to provide pkgname=lxc
an userspace container object which provides full resource isolation and version=0.9.0
resource control for an application or a system." revision=1
conf_files="/etc/lxc/default.conf"
build_style=gnu-configure
configure_args="--enable-seccomp --disable-apparmor --with-distro=none
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"
hostmakedepends="pkg-config"
makedepends="libcap-devel libseccomp-devel"
short_desc="${_desc} - utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://linuxcontainers.org"
license="LGPL-2.1"
distfiles="http://linuxcontainers.org/downloads/lxc-${version}.tar.gz"
checksum=1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120
make_dirs="
/var/lib/lxc 0755 root root
/var/lxc/containers 0755 root root
/var/lxc/log 0755 root root"
liblxc_package() { liblxc_package() {
short_desc+=" - shared library" short_desc="${_desc} - shared library"
pkg_install() { pkg_install() {
vmove "usr/lib/*.so*" vmove "usr/lib/*.so.*"
} }
} }
lxc-devel_package() { lxc-devel_package() {
depends="libcap-devel liblxc-${version}_${revision}" depends="libcap-devel liblxc>=${version}_${revision}"
short_desc+=" - development files" short_desc="${_desc} - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
} }
} }