| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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/rsync-3.0.9-r2.ebuild,v 1.4 2012/06/29 05:11:14 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.9-r2.ebuild,v 1.5 2012/06/30 11:31:59 grobian Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
| 6 | |
6 | |
| 7 | inherit eutils flag-o-matic prefix |
7 | inherit eutils flag-o-matic prefix |
| 8 | |
8 | |
| … | |
… | |
| 41 | --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf |
41 | --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf |
| 42 | touch proto.h-tstamp #421625 |
42 | touch proto.h-tstamp #421625 |
| 43 | } |
43 | } |
| 44 | |
44 | |
| 45 | src_install() { |
45 | src_install() { |
| 46 | emake DESTDIR="${ED}" install |
46 | emake DESTDIR="${D}" install |
| 47 | newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd |
47 | newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd |
| 48 | newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd |
48 | newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd |
| 49 | dodoc NEWS OLDNEWS README TODO tech_report.tex |
49 | dodoc NEWS OLDNEWS README TODO tech_report.tex |
| 50 | insinto /etc |
50 | insinto /etc |
| 51 | newins "${FILESDIR}"/rsyncd.conf-3.0.9-r1 rsyncd.conf |
51 | newins "${FILESDIR}"/rsyncd.conf-3.0.9-r1 rsyncd.conf |