diff --git a/srcpkgs/criu/template b/srcpkgs/criu/template new file mode 100644 index 0000000000..b80d25f70d --- /dev/null +++ b/srcpkgs/criu/template @@ -0,0 +1,20 @@ +# Template file for 'criu' +pkgname=criu +version=1.5.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" +short_desc="Utility to checkpoint/restore a process tree" +maintainer="Enno Boland " +license="GPL-2, LGPL-2" +homepage="http://criu.org/" +distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2" +checksum=0bf47f02e32ac7d81bb953ba6ecd0b8dd748728042afed36f31852a59042a8d2 +make_install_args="LIBDIR=/usr/lib SBINDIR=/usr/bin BINDIR=/usr/bin" + +post_install() { + mv $DESTDIR/bin/* $DESTDIR/usr/bin + mv $DESTDIR/lib/* $DESTDIR/usr/lib +}