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

Contents of /net-misc/rsync/rsync-2.4.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 30 11:40:12 2001 UTC (18 years, 7 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/net-misc/rsync/rsync-2.4.6-r1.ebuild,v 1.1 2000/12/21 03:28:40 drobbins Exp $
5
6 A=${P}.tar.gz
7 S=${WORKDIR}/${P}
8 DESCRIPTION="File transfer program to keep remote files into sync"
9 SRC_URI="http://rsync.samba.org/ftp/rsync/${A}"
10 HOMEPAGE="http://rsync.samba.org"
11
12 DEPEND=">=sys-libs/glibc-2.1.3"
13
14 src_unpack() {
15 unpack ${A}
16 cd ${S}
17 #change confdir to /etc/rsync rather than just /etc (the --sysconfdir configure option doesn't work
18 cp rsync.h rsync.h.orig
19 sed -e 's:RSYNCD_CONF "/etc/rsyncd.conf":RSYNCD_CONF "/etc/rsync/rsyncd.conf":g' rsync.h.orig > rsync.h
20 #yes, updating the man page is very important.
21 cp rsyncd.conf.5 rsyncd.conf.5.orig
22 sed -e 's:/etc/rsyncd:/etc/rsync/rsyncd:g' rsyncd.conf.5.orig > rsyncd.conf.5
23 }
24
25 src_compile() {
26
27 cd ${S}
28 try ./configure --prefix=/usr --host=${CHOST}
29 try make
30
31 }
32
33 src_install () {
34
35 cd ${S}
36 try make prefix=${D}/usr install
37 prepman
38 dodir /etc/rsync
39 dodoc COPYING README
40
41 }
42
43

  ViewVC Help
Powered by ViewVC 1.1.20