void-packages/srcpkgs/criu/template
2018-01-17 15:29:00 +01:00

36 lines
995 B
Bash

# Template file for 'criu'
pkgname=criu
version=3.7
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, LGPL-2"
homepage="http://criu.org/"
distfiles="https://download.openvz.org/criu/criu-$version.tar.bz2"
checksum=d88143909dba02d8156f97a4152dc767d5f1a91b6751d4ce26434fbbeff93763
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
}
}