diff --git a/srcpkgs/lxc/liblxc.template b/srcpkgs/lxc/liblxc.template index 739428d5ad3..d5d1cb431dc 100644 --- a/srcpkgs/lxc/liblxc.template +++ b/srcpkgs/lxc/liblxc.template @@ -5,9 +5,7 @@ long_desc="${long_desc} This package contains the shared library for use in applications." - -do_install() -{ +do_install() { mkdir -p ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib } diff --git a/srcpkgs/lxc/lxc-devel.template b/srcpkgs/lxc/lxc-devel.template index 463569c1424..b203e4986f6 100644 --- a/srcpkgs/lxc/lxc-devel.template +++ b/srcpkgs/lxc/lxc-devel.template @@ -1,14 +1,13 @@ # Template file for 'lxc-devel'. # -depends="libcap-devel liblxc" +noarch=yes +depends="libcap-devel liblxc>=$version" short_desc="${short_desc} - development files" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." - -do_install() -{ +do_install() { mkdir -p ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template index aa3abcc9363..9c5752c981b 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -1,13 +1,19 @@ # Template file for 'lxc' pkgname=lxc -version=0.7.3 -revision=3 -distfiles="http://lxc.sourceforge.net/download/lxc/lxc-$version.tar.gz" +_distver=0.8.0 +_patchver=rc1 +version=${_distver}_${_patchver} +wrksrc=${_distver}-${_patchver} +revision=1 build_style=gnu-configure +subpackages="liblxc lxc-devel" makedepends="libcap-devel" short_desc="LinuX Containers" maintainer="Juan RP " -checksum=fa3b28cdb79b7c4735eaa8535dd014f94c8b7683d8ce2934d5836d241f48da09 +homepage="http://lxc.sourceforge.net" +license="LGPL-2.1" +distfiles="http://lxc.sourceforge.net/download/lxc/lxc-${_distver}-${_patchver}.tar.gz" +checksum=32bf83902c07387646c55de440d6d12cf61bd54c97417109c2d1ac47d17cb911 long_desc=" The container technology is actively being pushed into the mainstream linux kernel. It provides the resource management through the control groups aka @@ -16,6 +22,3 @@ long_desc=" 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" -