summaryrefslogtreecommitdiff
path: root/dev-perl/Alien-LibGumbo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-07-04 14:05:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-07-04 14:05:23 +0100
commit05b8b0e0af1d72e51a3ee61522941bf7605cd01c (patch)
tree43b0410e62aba677b4b256bc3ffe3fd333d28dbe /dev-perl/Alien-LibGumbo
parent90c88731bd036e5698b281fbc0a5f3aa4c9983ac (diff)
gentoo resync : 04.07.2020
Diffstat (limited to 'dev-perl/Alien-LibGumbo')
-rw-r--r--dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r2.ebuild63
-rw-r--r--dev-perl/Alien-LibGumbo/Manifest1
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r2.ebuild b/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r2.ebuild
new file mode 100644
index 000000000000..01d42d5301fe
--- /dev/null
+++ b/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=RUZ
+DIST_VERSION=0.05
+inherit perl-module toolchain-funcs
+
+DESCRIPTION="Gumbo parser library"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Alien-Build for Alien::Base
+RDEPEND="
+ >=dev-perl/Alien-Build-0.5.0
+ >=dev-perl/File-ShareDir-1.30.0
+ >=dev-perl/Path-Class-0.13.0
+ dev-libs/gumbo
+"
+DEPEND="
+ dev-libs/gumbo
+ dev-perl/Module-Build
+"
+BDEPEND="${RDEPEND}
+ >=dev-perl/Alien-Base-ModuleBuild-0.5.0
+ >=dev-perl/Module-Build-0.420.0
+"
+src_configure() {
+ unset LD;
+ if [[ -n "${CCLD}" ]]; then
+ export LD="${CCLD}"
+ fi
+ tc-export CC CXX
+ perl-module_src_configure
+}
+src_compile() {
+ ./Build --config optimize="${CFLAGS}" build || die
+}
+src_test() {
+ local MODULES=(
+ "Alien::LibGumbo ${DIST_VERSION}"
+ "Alien::LibGumbo::ConfigData"
+ "Alien::LibGumbo::Install::Files"
+ )
+ local failed=()
+ for dep in "${MODULES[@]}"; do
+ ebegin "Compile testing ${dep}"
+ perl -Mblib="${S}/blib" -M"${dep} ()" -e1
+ eend $? || failed+=( "$dep" )
+ done
+ if [[ ${failed[@]} ]]; then
+ echo
+ eerror "One or more modules failed compile:";
+ for dep in "${failed[@]}"; do
+ eerror " ${dep}"
+ done
+ die "Failing due to module compilation errors";
+ fi
+ # Currently useless
+ # perl-module_src_test
+}
diff --git a/dev-perl/Alien-LibGumbo/Manifest b/dev-perl/Alien-LibGumbo/Manifest
index f724c9240016..29076be66b29 100644
--- a/dev-perl/Alien-LibGumbo/Manifest
+++ b/dev-perl/Alien-LibGumbo/Manifest
@@ -1,3 +1,4 @@
DIST Alien-LibGumbo-0.05.tar.gz 581628 BLAKE2B 1fb6affac4cde2554047efbd09e40d159f6aa37eb1576e2d165998d0896840ca6d4a9c5e94349819ce46e278245b55e0b631fa46ed4b1fd8d5b2c2304e1260e1 SHA512 3e1640b901a9597e50ef4bcadaa7d48592cd849feb6ccf42391c441e0c51f1d2556dab3533f8a23dc183464197336df22287c309f73ae741472c743445366628
EBUILD Alien-LibGumbo-0.50.0-r1.ebuild 1046 BLAKE2B 9cb66d1e611f5dd1f730eba5a618a93e26ada223c875eccbd94aea49d1d7644653028254a4d11daf9639219100a0d9db0606cd219b92816117441a56a87bd57d SHA512 144825df3a272cde96c61eefcbf879696036a1eab16f923c47f5c3e11b94a3243d2a4588da38649db60bc6f4de0c8a457d6a9d37137464032c6339da3b9a85e3
+EBUILD Alien-LibGumbo-0.50.0-r2.ebuild 1295 BLAKE2B 8795aad04fc068729d917b8e99d295e91986851fc50de13aedfdeab0ae031d7dbbab8adf76f3dd6d7e35f9d97a90366dbdcaff3b248708227cdd5fd96e20aacb SHA512 ef4b9db46f389e5848dbed40bed32db4ed7758dff2eda6f98adae39ce23d0402aed6abb246d3006b8305354cadcfd7cea985b459fe8ecc41c9705053f09fff3b
MISC metadata.xml 672 BLAKE2B adc4d5c88f8ce0a34ca686e395a5a5c977c2b3335349a9c76a9d5b7ea0afae5120d58af63ac5a408fc16465025f9690a7d13723751b225ae01bf1bc8aac4f279 SHA512 e3cf9e73972dbca53234bca251d37d4b0e2a7ac82325140f9c3fa9f17d7c4625fb763c4a0e662eac86e27168d3450e9fc5ff55e62048f61afc325b6f5f779279