void-packages/srcpkgs/criu/template

33 lines
945 B
Bash
Raw Normal View History

2015-04-09 16:26:46 +02:00
# Template file for 'criu'
pkgname=criu
version=1.5.1
revision=2
2015-04-09 16:26:46 +02:00
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 <eb@s01.de>"
license="GPL-2, LGPL-2"
homepage="http://criu.org/"
distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2"
checksum=0bf47f02e32ac7d81bb953ba6ecd0b8dd748728042afed36f31852a59042a8d2
2015-04-10 20:08:04 +02:00
only_for_archs="x86_64"
pycompile_module="pycriu"
2015-04-09 16:26:46 +02:00
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
}
criu-devel_package() {
short_desc+=" - development files"
depends="criu-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
2015-04-09 16:26:46 +02:00
}