criu: add -devel subpkg; use pycompile_module, misc.
This commit is contained in:
parent
3c4eeeb274
commit
ebd4f51b92
3 changed files with 18 additions and 5 deletions
|
@ -1990,3 +1990,4 @@ libcvm-udp.so.1 cvm-0.97_1
|
||||||
libcvm-v1client.so.1 cvm-0.97_1
|
libcvm-v1client.so.1 cvm-0.97_1
|
||||||
libcvm-v2client.so.1 cvm-0.97_1
|
libcvm-v2client.so.1 cvm-0.97_1
|
||||||
libudns.so.0 udns-0.4_1
|
libudns.so.0 udns-0.4_1
|
||||||
|
libcriu.so.1 criu-1.5.1_2
|
||||||
|
|
1
srcpkgs/criu-devel
Symbolic link
1
srcpkgs/criu-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
criu
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'criu'
|
# Template file for 'criu'
|
||||||
pkgname=criu
|
pkgname=criu
|
||||||
version=1.5.1
|
version=1.5.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="pkg-config protobuf-c protobuf python asciidoc xmlto"
|
hostmakedepends="pkg-config protobuf-c protobuf python asciidoc xmlto"
|
||||||
makedepends="libbsd-devel protobuf-c-devel protobuf-devel"
|
makedepends="libbsd-devel protobuf-c-devel protobuf-devel"
|
||||||
|
@ -12,10 +12,21 @@ license="GPL-2, LGPL-2"
|
||||||
homepage="http://criu.org/"
|
homepage="http://criu.org/"
|
||||||
distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2"
|
distfiles="http://download.openvz.org/criu/criu-$version.tar.bz2"
|
||||||
checksum=0bf47f02e32ac7d81bb953ba6ecd0b8dd748728042afed36f31852a59042a8d2
|
checksum=0bf47f02e32ac7d81bb953ba6ecd0b8dd748728042afed36f31852a59042a8d2
|
||||||
make_install_args="LIBDIR=/usr/lib SBINDIR=/usr/bin BINDIR=/usr/bin"
|
|
||||||
only_for_archs="x86_64"
|
only_for_archs="x86_64"
|
||||||
|
pycompile_module="pycriu"
|
||||||
|
|
||||||
post_install() {
|
do_install() {
|
||||||
mv $DESTDIR/bin/* $DESTDIR/usr/bin
|
make DESTDIR=${DESTDIR} PREFIX=/usr LIBDIR=/usr/lib SBINDIR=/usr/bin install
|
||||||
mv $DESTDIR/lib/* $DESTDIR/usr/lib
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue