Files
haikuports/net-misc/rsync/rsync-3.1.1.recipe
2016-02-17 14:39:36 -05:00

64 lines
1.3 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="http://rsync.samba.org/"
COPYRIGHT="1996-2013 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="7de4364fcf5fe42f3bdb514417f1c40d10bbca896abe7e7f2c581c6ea08a2621"
PATCHES="rsync-3.1.0.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
rsync = $portVersion compat >= 3
cmd:rsync = $portVersion compat >= 3
"
REQUIRES="
haiku
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libz
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:find
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
aclocal
autoconf
runConfigure ./configure \
--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
}