mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
criu: update to 3.8.1.
Closes: #13041 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
5d883a6314
commit
65d79400df
2 changed files with 22 additions and 7 deletions
1
srcpkgs/criu-python
Symbolic link
1
srcpkgs/criu-python
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
criu
|
|
@ -1,21 +1,23 @@
|
||||||
# Template file for 'criu'
|
# Template file for 'criu'
|
||||||
pkgname=criu
|
pkgname=criu
|
||||||
version=3.8
|
version=3.8.1
|
||||||
revision=1
|
revision=1
|
||||||
make_use_env=compliant
|
make_use_env=compliant
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config python asciidoc xmlto"
|
hostmakedepends="asciidoc pkg-config xmlto"
|
||||||
makedepends="protobuf-devel protobuf-c-devel libnl3-devel libnet-devel libcap-devel"
|
makedepends="libcap-devel libnet-devel libnl3-devel protobuf-c-devel
|
||||||
depends="python-ipaddr"
|
protobuf-devel"
|
||||||
short_desc="Utility to checkpoint/restore a process tree"
|
short_desc="Utility to checkpoint/restore a process tree"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="GPL-2.0-or-later, LGPL-2.1-only"
|
license="GPL-2.0-or-later, LGPL-2.1-only"
|
||||||
homepage="http://criu.org/"
|
homepage="http://criu.org/"
|
||||||
distfiles="https://download.openvz.org/criu/criu-$version.tar.bz2"
|
distfiles="https://download.openvz.org/criu/criu-$version.tar.bz2"
|
||||||
checksum=55bdd539e9ac89810fc3e8c236cc280f45e528d3fa9daabe256e285e965dbb3e
|
checksum=a134ccedd84fc9377c758f204d4e997fd8fe514fd05cbdbd64939b5698865e33
|
||||||
|
nocross="fails to run protobuf internals"
|
||||||
|
|
||||||
only_for_archs="x86_64 x86_64-musl"
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
pycompile_module="pycriu"
|
i686*) broken="unsupported upstream https://criu.org/32bit_tasks_C/R#Compatible_applications"
|
||||||
|
esac
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} PREFIX=/usr LOGROTATEDIR=/etc/logrotate.d \
|
make DESTDIR=${DESTDIR} PREFIX=/usr LOGROTATEDIR=/etc/logrotate.d \
|
||||||
|
@ -33,3 +35,15 @@ criu-devel_package() {
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
criu-python_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="pycriu"
|
||||||
|
depends="python-protobuf python-ipaddr criu-${version}_${revision}"
|
||||||
|
short_desc="Python2 bindings for criu and crit cli util"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/crit
|
||||||
|
vmove usr/share/man/man1/crit.1
|
||||||
|
vmove usr/lib/python2.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue