summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-07-04 10:24:09 +1200
committerKent Fredric <kentnl@gentoo.org>2020-07-06 06:23:15 +1200
commit5080889678cab5b7f5d192999d681849a2d1b5f7 (patch)
tree3bc56dbb6c2379bd1653d4dc026307d40e32406f /dev-perl/CSS-Minifier-XS/CSS-Minifier-XS-0.90.0-r2.ebuild
parentdev-perl/Devel-CallChecker: -r bump for EAPI7 + Toolchain love (diff)
downloadgentoo-5080889678cab5b7f5d192999d681849a2d1b5f7.tar.gz
gentoo-5080889678cab5b7f5d192999d681849a2d1b5f7.tar.bz2
gentoo-5080889678cab5b7f5d192999d681849a2d1b5f7.zip
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 <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/CSS-Minifier-XS/CSS-Minifier-XS-0.90.0-r2.ebuild')
-rw-r--r--dev-perl/CSS-Minifier-XS/CSS-Minifier-XS-0.90.0-r2.ebuild30
1 files changed, 30 insertions, 0 deletions
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
+}