--- /usr/portage/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r5.ebuild 2009-10-12 01:28:51.000000000 +0200 +++ gentoo-rsync-mirror-1.0-r5.ebuild 2012-07-03 17:51:21.085905416 +0200 @@ -1,7 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r5.ebuild,v 1.5 2009/10/11 23:28:51 halcy0n Exp $ +EAPI=4 + DESCRIPTION="Ebuild for setting up a Gentoo rsync mirror" HOMEPAGE="http://www.gentoo.org/doc/en/rsync.xml" SRC_URI="" @@ -11,10 +13,12 @@ KEYWORDS="~amd64 ~alpha ~ppc ~sparc ~x86 ~hppa ~ppc64" IUSE="" +S=${WORKDIR} + src_install() { - dodir /opt/gentoo-rsync - cp "${FILESDIR}"/rsync-gentoo-portage.sh "${D}"/opt/gentoo-rsync - cp "${FILESDIR}"/rsynclogparse-extended.pl "${D}"/opt/gentoo-rsync + exeinto /opt/gentoo-rsync + doexe "${FILESDIR}"/rsync-gentoo-portage.sh + doexe "${FILESDIR}"/rsynclogparse-extended.pl insinto etc/rsync doins "${FILESDIR}"/rsyncd.conf doins "${FILESDIR}"/rsyncd.motd