From 5080889678cab5b7f5d192999d681849a2d1b5f7 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sat, 4 Jul 2020 10:24:09 +1200 Subject: dev-perl/CSS-Minifier-XS: -r bump for EAPI7 + toolchain love - EAPI7 - Don't break when LD=!ccld - Ensure passing CFLAGS through to compiler Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Kent Fredric --- .../CSS-Minifier-XS-0.90.0-r2.ebuild | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dev-perl/CSS-Minifier-XS/CSS-Minifier-XS-0.90.0-r2.ebuild (limited to 'dev-perl/CSS-Minifier-XS') diff --git a/dev-perl/CSS-Minifier-XS/CSS-Minifier-XS-0.90.0-r2.ebuild b/dev-perl/CSS-Minifier-XS/CSS-Minifier-XS-0.90.0-r2.ebuild new file mode 100644 index 000000000000..eaa4bd52d5f0 --- /dev/null +++ b/dev-perl/CSS-Minifier-XS/CSS-Minifier-XS-0.90.0-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=GTERMARS +DIST_VERSION="0.09" + +inherit perl-module + +DESCRIPTION="XS based CSS minifier" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-perl/Module-Build +" +BDEPEND=" + >=dev-perl/Module-Build-0.40.0 + virtual/perl-ExtUtils-CBuilder +" +src_configure() { + unset LD + [[ -n "${CCLD}" ]] && export LD="${CCLD}" + perl-module_src_configure +} +src_compile() { + ./Build --config optimize="${CFLAGS}" build || die +} -- cgit v1.2.3-65-gdbad