void-packages/srcpkgs/criu/template

37 lines
970 B
Bash
Raw Normal View History

2015-04-09 16:26:46 +02:00
# Template file for 'criu'
pkgname=criu
2015-11-23 08:53:23 +01:00
version=1.7.2
2015-04-30 09:47:46 +02:00
revision=1
2015-04-09 16:26:46 +02:00
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 <gottox@voidlinux.eu>"
2015-04-09 16:26:46 +02:00
license="GPL-2, LGPL-2"
homepage="http://criu.org/"
distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2"
2015-11-23 08:53:23 +01:00
checksum=f5d377fd2a3c8824c592f6c27147cb4d37333ca0ce8b9c6e85a8b7cd8479b21d
2015-08-13 08:38:19 +02:00
2015-04-10 20:08:04 +02:00
only_for_archs="x86_64"
pycompile_module="pycriu"
2015-04-09 16:26:46 +02:00
2015-08-13 08:38:19 +02:00
do_build() {
make CC=$CC ${makejobs}
}
do_install() {
2015-08-13 08:38:19 +02:00
make DESTDIR=${DESTDIR} PREFIX=/usr LOGROTATEDIR=/etc/logrotate.d \
LIBDIR=/usr/lib SBINDIR=/usr/bin install
rm -rf ${DESTDIR}/usr/lib/systemd
2015-11-23 08:53:23 +01:00
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
}
2015-04-09 16:26:46 +02:00
}