51 lines
748 B
Bash
51 lines
748 B
Bash
|
version=\
|
||
|
(
|
||
|
"3.0.9"
|
||
|
)
|
||
|
|
||
|
url=\
|
||
|
(
|
||
|
"http://www.samba.org/ftp/rsync/rsync-$version.tar.gz"
|
||
|
)
|
||
|
|
||
|
md5=\
|
||
|
(
|
||
|
"5ee72266fe2c1822333c407e1761b92b"
|
||
|
)
|
||
|
|
||
|
maintainer=\
|
||
|
(
|
||
|
"Ricardo Martins <rasm@fe.up.pt>"
|
||
|
)
|
||
|
|
||
|
requires=\
|
||
|
(
|
||
|
'zlib/default'
|
||
|
)
|
||
|
|
||
|
configure()
|
||
|
{
|
||
|
./configure \
|
||
|
--target="$cfg_target_canonical" \
|
||
|
--host="$cfg_target_canonical" \
|
||
|
--build="$cfg_host_canonical" \
|
||
|
--prefix="$cfg_dir_rootfs/usr" \
|
||
|
--disable-ipv6 \
|
||
|
--disable-locale \
|
||
|
--disable-debug \
|
||
|
--disable-iconv \
|
||
|
--disable-acl-support \
|
||
|
--disable-xattr-support \
|
||
|
--with-included-popt
|
||
|
}
|
||
|
|
||
|
build()
|
||
|
{
|
||
|
$cmd_make
|
||
|
}
|
||
|
|
||
|
target_install()
|
||
|
{
|
||
|
$cmd_target_strip rsync -o "$cfg_dir_rootfs/usr/bin/rsync"
|
||
|
}
|