2011-02-09 19:27:28 +01:00
|
|
|
# Template file for 'lxc'
|
|
|
|
pkgname=lxc
|
2012-11-13 10:37:18 +01:00
|
|
|
version=0.8.0
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-11-13 10:37:18 +01:00
|
|
|
configure_args="--disable-apparmor"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="libcap-devel"
|
2011-02-09 19:27:28 +01:00
|
|
|
short_desc="LinuX Containers"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-07-02 15:00:36 +02:00
|
|
|
homepage="http://lxc.sourceforge.net"
|
|
|
|
license="LGPL-2.1"
|
2012-11-13 10:37:18 +01:00
|
|
|
distfiles="http://lxc.sourceforge.net/download/lxc/lxc-${version}.tar.gz"
|
|
|
|
checksum=eac833730b94e423d4bef6834bc4a716437d2abd6ab8b24334c506aaaa08692c
|
2011-02-09 19:27:28 +01:00
|
|
|
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
|
|
|
|
an userspace container object which provides full resource isolation and
|
|
|
|
resource control for an application or a system."
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
liblxc_package() {
|
|
|
|
short_desc="${short_desc} - shared library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lxc-devel_package() {
|
|
|
|
depends="libcap-devel liblxc-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lxc_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|