2015-04-09 16:26:46 +02:00
|
|
|
# Template file for 'criu'
|
|
|
|
pkgname=criu
|
2016-10-18 11:24:09 +02:00
|
|
|
version=2.7
|
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"
|
2016-05-21 11:20:36 +02:00
|
|
|
makedepends="libbsd-devel protobuf-c-devel protobuf-devel libnl3-devel"
|
2015-04-09 16:26:46 +02:00
|
|
|
depends="python-ipaddr"
|
|
|
|
short_desc="Utility to checkpoint/restore a process tree"
|
2015-08-09 19:08:42 +02:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2015-04-09 16:26:46 +02:00
|
|
|
license="GPL-2, LGPL-2"
|
|
|
|
homepage="http://criu.org/"
|
2016-05-21 11:20:36 +02:00
|
|
|
distfiles="https://download.openvz.org/criu/criu-$version.tar.bz2"
|
2016-10-18 11:24:09 +02:00
|
|
|
checksum=c9aae64a4d2a6e881225ec14a00527aef228171a11227034b6322c126c2ece04
|
2016-05-21 11:20:36 +02:00
|
|
|
nopie=yes
|
2015-08-13 08:38:19 +02:00
|
|
|
|
2016-06-15 14:40:50 +02:00
|
|
|
only_for_archs="x86_64 x86_64-musl"
|
2015-04-13 10:42:28 +02:00
|
|
|
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}
|
|
|
|
}
|
2015-04-13 10:42:28 +02:00
|
|
|
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
|
2015-04-13 10:42:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|