38 lines
1004 B
Bash
38 lines
1004 B
Bash
# Template file for 'criu'
|
|
pkgname=criu
|
|
version=2.7
|
|
revision=1
|
|
hostmakedepends="pkg-config protobuf-c protobuf python asciidoc xmlto"
|
|
makedepends="libbsd-devel protobuf-c-devel protobuf-devel libnl3-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=c9aae64a4d2a6e881225ec14a00527aef228171a11227034b6322c126c2ece04
|
|
nopie=yes
|
|
|
|
only_for_archs="x86_64 x86_64-musl"
|
|
pycompile_module="pycriu"
|
|
|
|
do_build() {
|
|
make CC=$CC ${makejobs}
|
|
}
|
|
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
|
|
}
|
|
}
|