void-packages/srcpkgs/criu/template
maxice8 4c7c84c905 criu: update to 3.8.
Closes: #12463 [via git-merge-pr]
2018-03-16 20:52:55 -07:00

36 lines
1,013 B
Bash

# Template file for 'criu'
pkgname=criu
version=3.8
revision=1
make_use_env=compliant
build_style=gnu-makefile
hostmakedepends="pkg-config python asciidoc xmlto"
makedepends="protobuf-devel protobuf-c-devel libnl3-devel libnet-devel libcap-devel"
depends="python-ipaddr"
short_desc="Utility to checkpoint/restore a process tree"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later, LGPL-2.1-only"
homepage="http://criu.org/"
distfiles="https://download.openvz.org/criu/criu-$version.tar.bz2"
checksum=55bdd539e9ac89810fc3e8c236cc280f45e528d3fa9daabe256e285e965dbb3e
only_for_archs="x86_64 x86_64-musl"
pycompile_module="pycriu"
do_install() {
make DESTDIR=${DESTDIR} PREFIX=/usr LOGROTATEDIR=/etc/logrotate.d \
LIBDIR=/usr/lib SBINDIR=/usr/bin install
rm -rf ${DESTDIR}/usr/lib/systemd
vsv criu
}
criu-devel_package() {
short_desc+=" - development files"
depends="criu-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}