2015-04-09 14:26:46 +00:00
|
|
|
# Template file for 'criu'
|
|
|
|
pkgname=criu
|
2016-03-02 07:56:42 +00:00
|
|
|
version=1.8
|
2015-04-30 07:47:46 +00:00
|
|
|
revision=1
|
2015-04-09 14:26:46 +00: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"
|
2015-08-09 17:08:42 +00:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2015-04-09 14:26:46 +00:00
|
|
|
license="GPL-2, LGPL-2"
|
|
|
|
homepage="http://criu.org/"
|
|
|
|
distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2"
|
2016-03-02 07:56:42 +00:00
|
|
|
checksum=d1d6693d23181b1cd7378d77c142e41bcac3cb2ae5c71ea4c5b7de01f65575bb
|
2015-08-13 06:38:19 +00:00
|
|
|
|
2015-04-10 18:08:04 +00:00
|
|
|
only_for_archs="x86_64"
|
2015-04-13 08:42:28 +00:00
|
|
|
pycompile_module="pycriu"
|
2015-04-09 14:26:46 +00:00
|
|
|
|
2015-08-13 06:38:19 +00:00
|
|
|
do_build() {
|
|
|
|
make CC=$CC ${makejobs}
|
|
|
|
}
|
2015-04-13 08:42:28 +00:00
|
|
|
do_install() {
|
2015-08-13 06:38:19 +00: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 07:53:23 +00:00
|
|
|
vsv criu
|
2015-04-13 08:42:28 +00: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 14:26:46 +00:00
|
|
|
}
|