From 3f8902ca65c92306d9684732d9d9c1dcab9c6365 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 31 May 2017 22:59:50 -0400 Subject: 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. --- net-misc/rsync/rsync-3.1.2.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'net-misc') 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* -- cgit v1.2.3-65-gdbad