2011-02-09 18:27:28 +00:00
|
|
|
# Template file for 'lxc'
|
|
|
|
pkgname=lxc
|
2012-11-13 09:37:18 +00:00
|
|
|
version=0.8.0
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-11-13 09:37:18 +00:00
|
|
|
configure_args="--disable-apparmor"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="libcap-devel"
|
2011-02-09 18:27:28 +00:00
|
|
|
short_desc="LinuX Containers"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-07-02 13:00:36 +00:00
|
|
|
homepage="http://lxc.sourceforge.net"
|
|
|
|
license="LGPL-2.1"
|
2012-11-13 09:37:18 +00:00
|
|
|
distfiles="http://lxc.sourceforge.net/download/lxc/lxc-${version}.tar.gz"
|
|
|
|
checksum=eac833730b94e423d4bef6834bc4a716437d2abd6ab8b24334c506aaaa08692c
|
2011-02-09 18:27:28 +00: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 08:15:49 +00: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
|
|
|
|
}
|
|
|
|
}
|