From 6bc5543f4cf2b0d0fc18a535b326bb62ae9d42f8 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Mon, 31 Aug 2020 19:09:16 +1200 Subject: [PATCH] dev-perl/File-RsyncP: -r bump for EAPI7 + Fixes - EAPI7 - Fix LICENSE - Ensure CFLAGS passed to make/compile - Minor dep improvement - Remove empty/unused variable assignments Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Kent Fredric --- .../File-RsyncP/File-RsyncP-0.740.0-r1.ebuild | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 dev-perl/File-RsyncP/File-RsyncP-0.740.0-r1.ebuild diff --git a/dev-perl/File-RsyncP/File-RsyncP-0.740.0-r1.ebuild b/dev-perl/File-RsyncP/File-RsyncP-0.740.0-r1.ebuild new file mode 100644 index 0000000000000..8d726fc79812a --- /dev/null +++ b/dev-perl/File-RsyncP/File-RsyncP-0.740.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=CBARRATT +DIST_VERSION=0.74 +inherit perl-module toolchain-funcs + +DESCRIPTION="An rsync perl module" +HOMEPAGE="http://perlrsync.sourceforge.net/ https://metacpan.org/release/File-RsyncP" +# Bundled files make for some weirdness +LICENSE="GPL-3+ GPL-2+ RSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + >=virtual/perl-Getopt-Long-2.240.0 + net-misc/rsync +" +BDEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-0.700.0-make.patch" ) + +src_prepare() { + perl-module_src_prepare + tc-export CC +} +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +}