From cc5115c210425469257203cf1575048e944a4770 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 13 Nov 2012 10:37:18 +0100 Subject: [PATCH] lxc: update to 0.8.0. --- srcpkgs/lxc/lxc-devel.template | 7 +++---- srcpkgs/lxc/template | 10 ++++------ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/srcpkgs/lxc/lxc-devel.template b/srcpkgs/lxc/lxc-devel.template index b203e4986f..633cc6c43c 100644 --- a/srcpkgs/lxc/lxc-devel.template +++ b/srcpkgs/lxc/lxc-devel.template @@ -1,14 +1,13 @@ # Template file for 'lxc-devel'. # noarch=yes -depends="libcap-devel liblxc>=$version" +depends="libcap-devel liblxc-${version}_${revision}" short_desc="${short_desc} - development files" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." do_install() { - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib } diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template index 5677aae2c6..38be606777 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -1,19 +1,17 @@ # Template file for 'lxc' pkgname=lxc -_distver=0.8.0 -_patchver=rc1 -version=${_distver}_${_patchver} -wrksrc=lxc-${_distver}-${_patchver} +version=0.8.0 revision=1 build_style=gnu-configure +configure_args="--disable-apparmor" subpackages="liblxc lxc-devel" makedepends="libcap-devel" short_desc="LinuX Containers" maintainer="Juan RP " homepage="http://lxc.sourceforge.net" license="LGPL-2.1" -distfiles="http://lxc.sourceforge.net/download/lxc/lxc-${_distver}-${_patchver}.tar.gz" -checksum=32bf83902c07387646c55de440d6d12cf61bd54c97417109c2d1ac47d17cb911 +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