2015-04-09 14:26:46 +00:00
|
|
|
# Template file for 'criu'
|
|
|
|
pkgname=criu
|
2015-04-30 07:47:46 +00:00
|
|
|
version=1.5.2
|
|
|
|
revision=1
|
2015-04-09 14:26:46 +00:00
|
|
|
build_style=gnu-makefile
|
|
|
|
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 <eb@s01.de>"
|
|
|
|
license="GPL-2, LGPL-2"
|
|
|
|
homepage="http://criu.org/"
|
|
|
|
distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2"
|
2015-04-30 07:47:46 +00:00
|
|
|
checksum=e8226018ac6c4094d61a1c002543e2b2253b4041a8edb24d4c1eaa41ce5ab345
|
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-04-13 08:42:28 +00:00
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} PREFIX=/usr LIBDIR=/usr/lib SBINDIR=/usr/bin install
|
|
|
|
mv ${DESTDIR}/bin/* ${DESTDIR}/usr/bin
|
|
|
|
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|