components/perl/Encode-Detect/perl-integrate-module.conf | ●●●●● patch | view | raw | blame | history | |
components/perl/Module-Build/perl-integrate-module.conf | ●●●●● patch | view | raw | blame | history | |
tools/perl-integrate-module | ●●●●● patch | view | raw | blame | history |
components/perl/Encode-Detect/perl-integrate-module.conf
@@ -17,7 +17,3 @@ printf "%s\n" "$COPYRIGHT" > "$DISTRIBUTION.license" LICENSE="MPL-1.1" USE_DEFAULT_PERL_LICENSE=0 %include-1% # Force modulebuild build style BUILD_STYLE = modulebuild components/perl/Module-Build/perl-integrate-module.conf
@@ -14,7 +14,3 @@ # %patch% LICENSE-is-useless.patch %include-1% # Force modulebuild build style BUILD_STYLE = modulebuild tools/perl-integrate-module
@@ -157,7 +157,7 @@ # \$WS_TOOLS/perl-integrate-module $MODULE # BUILD_STYLE = makemaker BUILD_STYLE = modulebuild EOF gsed -e '0,/^%include-1%/d' -e '/^%/,$d' < perl-integrate-module.conf cat <<EOF @@ -207,8 +207,8 @@ ! gmake prep > /dev/null 2>&1 && printf "FATAL: 'gmake prep' failed!\n" >&2 && exit 1 SOURCE_DIR=$(gmake print-value-SOURCE_DIR) # Switch to modulebuild if needed [[ ! -f "$SOURCE_DIR/Makefile.PL" && -f "$SOURCE_DIR/Build.PL" ]] && sed -i -e 's/makemaker/modulebuild/g' Makefile # Switch to makemaker if needed [[ ! -f "$SOURCE_DIR/Build.PL" && -f "$SOURCE_DIR/Makefile.PL" ]] && sed -i -e 's/modulebuild/makemaker/g' Makefile # Get abstract. Either from metacpan, or directly from sources. ABSTRACT=$(printf "%s" "$METACPAN_MODULE" | /usr/bin/jq -r '.abstract')