# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=SZBALINT
DIST_VERSION=4.17
inherit perl-module

DESCRIPTION="Perl extension interface for libcurl"

LICENSE="|| ( MPL-1.0 MPL-1.1 MIT )"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 x86"

RDEPEND="net-misc/curl"
DEPEND="${RDEPEND}"
BDEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/${PN}-4.150.0-curl-7.50.2.patch
	"${FILESDIR}"/${PN}-4.17-dotinc.patch
	"${FILESDIR}"/${PN}-4.17-networktests.patch
	"${FILESDIR}"/${PN}-4.17-RT117793.patch
	"${FILESDIR}"/${PN}-4.17-RT130591.patch
	"${FILESDIR}"/${PN}-4.17-RT132197.patch
)

PERL_RM_FILES=("t/meta.t" "t/pod-coverage.t" "t/pod.t")