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 <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2020-08-31 19:09:16 +12:00
parent abdafd44b8
commit 6bc5543f4c

View File

@@ -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
}