mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
71 lines
1.7 KiB
Bash
71 lines
1.7 KiB
Bash
SUMMARY="Free implementation of rsync remote-delta algorithm"
|
|
DESCRIPTION="librsync is a free software library that implements the \
|
|
rsync remote-delta algorithm. This algorithm allows efficient remote \
|
|
updates of a file, without requiring the old and new versions to \
|
|
both be presentat the sending end. The library uses a \"streaming\" \
|
|
design similar to that of zlib with the aim of allowing it to be embedded \
|
|
into many different applications."
|
|
HOMEPAGE="https://github.com/librsync/librsync"
|
|
COPYRIGHT="1995 Patrick Powell
|
|
1996-1999 Andrew Tridgell
|
|
1996 Paul Mackerras
|
|
1999-2014 Martin Pool
|
|
2002-2003 Donovan Baarda"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="5"
|
|
SOURCE_URI="https://github.com/librsync/librsync/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256='b5c4dd114289832039397789e42d4ff0d1108ada89ce74f1999398593fae2169'
|
|
PATCHES="librsync2.0-$portVersion.patchset"
|
|
SOURCE_DIR="librsync-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
$portName = $portVersion
|
|
lib:librsync$secondaryArchSuffix = 2.0.0 compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libpopt$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libpopt$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
# cmd:dot
|
|
# cmd:doxygen
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:cmake
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=release \
|
|
$cmakeDirArgs
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
|
|
prepareInstalledDevelLib librsync
|
|
|
|
# remove $developLibDir
|
|
rm -rf $developDir $binDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make -C build -k test
|
|
}
|