Added lxc-0.7.3 build template.

This commit is contained in:
Juan RP 2011-02-09 19:27:28 +01:00
parent 44a2fd5fbc
commit ec799b15d2
7 changed files with 59 additions and 0 deletions

1
srcpkgs/liblxc Symbolic link
View File

@ -0,0 +1 @@
lxc

1
srcpkgs/lxc-devel Symbolic link
View File

@ -0,0 +1 @@
lxc

2
srcpkgs/lxc/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=0.7.3"
api_depends="${abi_depends}"

View File

@ -0,0 +1,15 @@
# Template file for 'liblxc'.
#
short_desc="${short_desc} - shared library"
long_desc="${long_desc}
This package contains the shared library for use in applications."
Add_dependency run glibc
Add_dependency run libcap
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,16 @@
# Template file for 'lxc-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libcap-devel
Add_dependency run liblxc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}

23
srcpkgs/lxc/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'lxc'
pkgname=lxc
version=0.7.3
distfiles="http://lxc.sourceforge.net/download/lxc/lxc-$version.tar.gz"
build_style=gnu_configure
short_desc="LinuX Containers"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=fa3b28cdb79b7c4735eaa8535dd014f94c8b7683d8ce2934d5836d241f48da09
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."
subpackages="liblxc lxc-devel"
Add_dependency run glibc
Add_dependency run libcap
Add_dependency run liblxc
Add_dependency build libcap-devel

View File

@ -757,3 +757,4 @@ libsvn_swig_py-1.so subversion-python subversion-devel
libsvn_swig_perl-1.so subversion-perl subversion-devel
libsvn_swig_ruby-1.so subversion-ruby subversion-devel
libjson-glib-1.0.so json-glib json-glib-devel
liblxc.so liblxc lxc-devel