mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
40 lines
791 B
Bash
40 lines
791 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DIST_AUTHOR=CBARRATT
|
|
DIST_VERSION=0.76
|
|
inherit perl-module toolchain-funcs
|
|
|
|
DESCRIPTION="An rsync perl module"
|
|
HOMEPAGE="https://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 ~ppc ~ppc64 ~sparc x86"
|
|
|
|
RDEPEND="
|
|
net-misc/rsync
|
|
"
|
|
BDEPEND="${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-0.700.0-make.patch"
|
|
"${FILESDIR}/${PN}-0.760.0-lto.patch"
|
|
"${FILESDIR}/${PN}-0.760.0-c99.patch"
|
|
"${FILESDIR}/${PN}-0.760.0-c23.patch"
|
|
)
|
|
|
|
src_prepare() {
|
|
perl-module_src_prepare
|
|
tc-export CC
|
|
}
|
|
src_compile() {
|
|
mymake=(
|
|
"OPTIMIZE=${CFLAGS}"
|
|
)
|
|
perl-module_src_compile
|
|
}
|