/[gentoo-x86]/net-misc/rsync/rsync-2.6.3.ebuild
Gentoo

Diff of /net-misc/rsync/rsync-2.6.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.8
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/Attic/rsync-2.6.3.ebuild,v 1.2 2004/10/03 04:38:58 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/Attic/rsync-2.6.3.ebuild,v 1.8 2004/12/29 13:04:18 gustavoz Exp $
4 4
5inherit eutils flag-o-matic gcc 5inherit eutils flag-o-matic gcc gnuconfig
6 6
7DESCRIPTION="File transfer program to keep remote files into sync" 7DESCRIPTION="File transfer program to keep remote files into sync"
8HOMEPAGE="http://rsync.samba.org/" 8HOMEPAGE="http://rsync.samba.org/"
9SRC_URI="http://rsync.samba.org/ftp/rsync/${P/_/}.tar.gz" 9SRC_URI="http://rsync.samba.org/ftp/rsync/${P/_/}.tar.gz"
10 10
11LICENSE="GPL-2" 11LICENSE="GPL-2"
12SLOT="0" 12SLOT="0"
13KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" 13KEYWORDS="~alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86"
14IUSE="build static acl ipv6" 14IUSE="build static acl ipv6"
15 15
16RDEPEND="virtual/libc 16RDEPEND="virtual/libc
17 !build? ( >=dev-libs/popt-1.5 )" 17 !build? ( >=dev-libs/popt-1.5 )"
18DEPEND="${RDEPEND} 18DEPEND="${RDEPEND}
22S="${WORKDIR}/${P/_/}" 22S="${WORKDIR}/${P/_/}"
23 23
24src_unpack() { 24src_unpack() {
25 unpack "${P/_/}.tar.gz" 25 unpack "${P/_/}.tar.gz"
26 cd ${S} 26 cd ${S}
27 if use acl ; then
27 use acl && epatch patches/acl.diff 28 epatch patches/acl.diff
29 autoconf || die "autoconf"
30 autoheader || die "autoheader"
31 fi
32 gnuconfig_update
28 33
29 # change confdir to /etc/rsync rather than just /etc (the --sysconfdir 34 # change confdir to /etc/rsync rather than just /etc (the --sysconfdir
30 # yes, updating the man page is very important. 35 # yes, updating the man page is very important.
31 sed -i \ 36 sed -i \
32 -e 's|/etc/rsyncd|/etc/rsync/rsyncd|g' \ 37 -e 's|/etc/rsyncd|/etc/rsync/rsyncd|g' \
33 rsyncd.conf.5 \ 38 rsync.1 rsyncd.conf.5 \
34 || die "sed rsyncd.conf.5 failed" 39 || die "sed rsyncd.conf.5 failed"
35} 40}
36 41
37src_compile() { 42src_compile() {
38 [ "`gcc-version`" == "2.95" ] && append-ldflags -lpthread 43 [ "`gcc-version`" == "2.95" ] && append-ldflags -lpthread

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20