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

52 lines
839 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
2014-06-26 16:02:50 +01:00
'3.1.1'
2013-07-13 17:19:22 +01:00
)
url=\
(
"http://www.samba.org/ftp/rsync/rsync-$version.tar.gz"
)
md5=\
(
2014-06-26 16:02:50 +01:00
'43bd6676f0b404326eee2d63be3cdcfe'
2013-07-13 17:19:22 +01:00
)
maintainer=\
(
2013-11-20 18:17:18 +00:00
'Ricardo Martins <rasm@fe.up.pt>'
2013-07-13 17:19:22 +01:00
)
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 -
2013-07-13 17:19:22 +01:00
}