mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
88 lines
2.1 KiB
Bash
88 lines
2.1 KiB
Bash
SUMMARY="A utility for fast incremental file transfer"
|
|
DESCRIPTION="rsync is a file transfer program for Unix systems. rsync uses the \
|
|
'rsync algorithm' which provides a very fast method for bringing remote files \
|
|
into sync. It does this by sending just the differences in the files across \
|
|
the link, without requiring that both sets of files are present at one of the \
|
|
ends of the link beforehand."
|
|
HOMEPAGE="https://rsync.samba.org/"
|
|
COPYRIGHT="1996-2022 by Andrew Tridgell, Wayne Davison, and others"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="http://rsync.samba.org/ftp/rsync/src/rsync-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="4e7d9d3f6ed10878c58c5fb724a67dacf4b6aac7340b13e488fb2dc41346f2bb"
|
|
PATCHES="rsync-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
rsync$secondaryArchSuffix = $portVersion compat >= 3
|
|
cmd:rsync$commandSuffix = $portVersion compat >= 3
|
|
cmd:rsync_ssl$commandSuffix = $portVersion compat >= 3
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:liblz4$secondaryArchSuffix
|
|
lib:libxxhash$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
lib:libzstd$secondaryArchSuffix
|
|
"
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
REPLACES="
|
|
rsync
|
|
"
|
|
fi
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcrypto$secondaryArchSuffix
|
|
devel:liblz4$secondaryArchSuffix
|
|
devel:libxxhash$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
devel:libzstd$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
defineDebugInfoPackage rsync$secondaryArchSuffix $commandBinDir/rsync
|
|
|
|
BUILD()
|
|
{
|
|
aclocal
|
|
autoconf
|
|
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir \
|
|
--enable-xattr-support \
|
|
--disable-iconv \
|
|
--disable-iconv-open \
|
|
--disable-locale \
|
|
--disable-debug \
|
|
--with-included-zlib=no
|
|
|
|
make reconfigure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make test
|
|
}
|