From cc16cee343bb14d5949f6e16ab8b3d190537e92c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 13 Aug 2015 08:38:19 +0200 Subject: [PATCH] criu: update to 1.6.1. --- srcpkgs/criu/template | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/srcpkgs/criu/template b/srcpkgs/criu/template index 43723ac8ac2..2aecb4dfb79 100644 --- a/srcpkgs/criu/template +++ b/srcpkgs/criu/template @@ -1,8 +1,7 @@ # Template file for 'criu' pkgname=criu -version=1.5.2 +version=1.6.1 revision=1 -build_style=gnu-makefile hostmakedepends="pkg-config protobuf-c protobuf python asciidoc xmlto" makedepends="libbsd-devel protobuf-c-devel protobuf-devel" depends="python-ipaddr" @@ -11,14 +10,18 @@ maintainer="Enno Boland " license="GPL-2, LGPL-2" homepage="http://criu.org/" distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2" -checksum=e8226018ac6c4094d61a1c002543e2b2253b4041a8edb24d4c1eaa41ce5ab345 +checksum=c74810383b7e524be0d909b9a6c1805e0887ac93cf1bfa28f00a87f395879e18 + only_for_archs="x86_64" pycompile_module="pycriu" +do_build() { + make CC=$CC ${makejobs} +} do_install() { - make DESTDIR=${DESTDIR} PREFIX=/usr LIBDIR=/usr/lib SBINDIR=/usr/bin install - mv ${DESTDIR}/bin/* ${DESTDIR}/usr/bin - mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib + make DESTDIR=${DESTDIR} PREFIX=/usr LOGROTATEDIR=/etc/logrotate.d \ + LIBDIR=/usr/lib SBINDIR=/usr/bin install + rm -rf ${DESTDIR}/usr/lib/systemd } criu-devel_package() {