This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/rsync/default.bash
2020-07-31 12:56:50 +01:00

52 lines
843 B
Bash

version=\
(
'3.1.1'
)
url=\
(
"https://github.com/WayneD/rsync/archive/v$version.tar.gz"
)
md5=\
(
'e559dd27216db757f4b34d64b8bf789e'
)
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" &&
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}