mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/45637 Closes: https://github.com/gentoo/gentoo/pull/45637 Signed-off-by: Sam James <sam@gentoo.org>
43 lines
918 B
Bash
43 lines
918 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DIST_AUTHOR=SHLOMIF
|
|
DIST_VERSION=2.003000
|
|
inherit perl-module toolchain-funcs
|
|
|
|
DESCRIPTION="A Perl module to parse XSL Transformational sheets using GNOME's libxslt"
|
|
|
|
# https://github.com/shlomif/perl-XML-LibXSLT/issues/5
|
|
LICENSE="|| ( Artistic GPL-1+ ) MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
|
|
|
RDEPEND="
|
|
>=dev-perl/XML-LibXML-1.700.0
|
|
>=dev-libs/libxslt-1.1.32
|
|
"
|
|
BDEPEND="
|
|
${RDEPEND}
|
|
>=virtual/perl-File-Path-2.60.0
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
PERL_RM_FILES=(
|
|
"t/cpan-changes.t" "t/pod.t"
|
|
"t/style-trailing-space.t"
|
|
)
|
|
|
|
PATCHES=(
|
|
# PR pending https://github.com/shlomif/perl-XML-LibXSLT/pull/9.patch
|
|
"${FILESDIR}"/${PN}-2.3.0-fix_pkgconfig.patch
|
|
)
|
|
|
|
src_configure() {
|
|
# used to find libxslt
|
|
tc-export PKG_CONFIG
|
|
|
|
perl-module_src_configure
|
|
}
|