librsync: update to 2.0.1

This commit is contained in:
yopito 2017-10-20 07:06:02 +02:00 committed by Enno Boland
parent d8fb8d1e23
commit a7f514bdb1
2 changed files with 21 additions and 2 deletions

View file

@ -0,0 +1,9 @@
# This file was generated by CMake because it detected TRY_RUN() commands
# in crosscompiling mode. It will be overwritten by the next CMake run.
# Copy it to a safe location, set the variables to appropriate values
# and use it then to preset the CMake cache (using -C).
set( HAVE_PRINTF_Z_EXITCODE
0
CACHE INTERNAL "Result from TRY_RUN" FORCE)

View file

@ -1,6 +1,6 @@
# Template file for 'librsync'
pkgname=librsync
version=2.0.0
version=2.0.1
revision=1
build_style=cmake
configure_args="-DCMAKE_SYSTEM_PROCESSOR=$XBPS_TARGET_MACHINE"
@ -11,8 +11,18 @@ homepage="http://librsync.sourceforge.net/"
license="LGPL-2.1"
short_desc="A library that implements the rsync remote-delta algorithm (rdiff)"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=b5c4dd114289832039397789e42d4ff0d1108ada89ce74f1999398593fae2169
checksum=6fce69041aa4fc72a21f1ab280a7299b82df2b1fa0a25d8695fd527e6752625e
if [ "$CROSS_BUILD" ]; then
configure_args+=" -C disableRuntimeTests.cmake"
fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
mkdir -p build
cp ${FILESDIR}/disableRuntimeTests.cmake ${wrksrc}/build/.
fi
}
post_install() {
vman doc/rdiff.1
}