Magellan Linux

Annotation of /smage/branches/alx07x-stable/core/rsync/rsync-3.2.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15123 - (hide annotations) (download)
Fri Aug 7 07:26:52 2020 UTC (3 years, 9 months ago) by niro
File size: 934 byte(s)
-release branches/alx07x-stable
1 niro 14379 # $Id$
2    
3     PNAME="rsync"
4     PVER="3.2.2"
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     msetfeature "!check"
19     sminclude mbuild alx-split
20    
21     SRC_URI=(
22     http://samba.anu.edu.au/ftp/${PNAME}/src/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     UP2DATE="updatecmd http://rsync.samba.org/ftp/${PNAME} | grep ${PNAME}- | lasttarball gz"
27    
28     src_compile()
29     {
30     cd ${SRCDIR}
31    
32     local myconf
33     # no openssl
34     myconf+=" --disable-openssl"
35     # no xxhash
36     myconf+=" --disable-xxhash"
37     # no lz
38     myconf+=" --disable-zstd --disable-lz4"
39    
40     # we want not hassle with libpopt dependencies
41     # so we use the rsync bundled popt library
42     mconfigure --with-rsyncd-conf=/etc/rsyncd.conf --with-included-popt ${myconf} || die
43     mmake || die
44     }