Magellan Linux

Contents of /smage/trunk/core/rsync/rsync-3.2.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14049 - (show annotations) (download)
Fri Jul 3 08:03:43 2020 UTC (3 years, 9 months ago) by niro
File size: 913 byte(s)
auto added: ver bump to 3.2.1-r1
1 # $Id$
2
3 PNAME="rsync"
4 PVER="3.2.1"
5 PBUILD="r1"
6
7 PCAT="net-misc"
8
9 DESCRIPTION="rsync is an open source utility that provides fast incremental file transfer."
10 HOMEPAGE="http://rsync.samba.org/"
11
12 DEPEND=">= virtual/glibc"
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 ALX_PKG_KEEP="usr/bin/rsync"
18 sminclude mbuild alx-split
19
20 SRC_URI=(
21 http://samba.anu.edu.au/ftp/${PNAME}/src/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd http://rsync.samba.org/ftp/${PNAME} | grep ${PNAME}- | lasttarball gz"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 local myconf
32 # no openssl
33 myconf+=" --disable-openssl"
34 # no xxhash
35 myconf+=" --disable-xxhash"
36 # no lz
37 myconf+=" --disable-zstd --disable-lz4"
38
39 # we want not hassle with libpopt dependencies
40 # so we use the rsync bundled popt library
41 mconfigure --with-rsyncd-conf=/etc/rsyncd.conf --with-included-popt ${myconf} || die
42 mmake || die
43 }