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() {