diff options
author | Mike Frysinger <vapier@gentoo.org> | 2017-05-31 22:59:50 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-05-31 22:59:50 -0400 |
commit | 3f8902ca65c92306d9684732d9d9c1dcab9c6365 (patch) | |
tree | b93d4a970f80c3fb47f935a2c8d059349c405146 /net-misc | |
parent | app-emulation/wine-any: Bump to 2.9 (diff) | |
download | gentoo-3f8902ca65c92306d9684732d9d9c1dcab9c6365.tar.gz gentoo-3f8902ca65c92306d9684732d9d9c1dcab9c6365.tar.bz2 gentoo-3f8902ca65c92306d9684732d9d9c1dcab9c6365.zip |
net-misc/rsync: move helper scripts behind USE=examples
These aren't generally useful, so stop installing them by default.
Plus most are written in perl.
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/rsync/rsync-3.1.2.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net-misc/rsync/rsync-3.1.2.ebuild b/net-misc/rsync/rsync-3.1.2.ebuild index fb982adf33e3..16e2176a9d0d 100644 --- a/net-misc/rsync/rsync-3.1.2.ebuild +++ b/net-misc/rsync/rsync-3.1.2.ebuild @@ -15,7 +15,7 @@ SLOT="0" if [[ ${PV} != *_pre ]] ; then KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi -IUSE="acl iconv ipv6 static stunnel xattr" +IUSE="acl examples iconv ipv6 static stunnel xattr" LIB_DEPEND="acl? ( virtual/acl[static-libs(+)] ) xattr? ( kernel_linux? ( sys-apps/attr[static-libs(+)] ) ) @@ -64,9 +64,11 @@ src_install() { fi # Install the useful contrib scripts - exeinto /usr/share/rsync - doexe support/* - rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} + if use examples ; then + exeinto /usr/share/rsync + doexe support/* + rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} + fi eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd* |