summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl_5.30.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.30.1.bb')
-rw-r--r--meta/recipes-devtools/perl/perl_5.30.1.bb47
1 files changed, 40 insertions, 7 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.30.1.bb b/meta/recipes-devtools/perl/perl_5.30.1.bb
index 90a9fad68b..3634122686 100644
--- a/meta/recipes-devtools/perl/perl_5.30.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.30.1.bb
@@ -181,13 +181,13 @@ perl_package_preprocess () {
181 -e "s,${STAGING_BINDIR_NATIVE}/,,g" \ 181 -e "s,${STAGING_BINDIR_NATIVE}/,,g" \
182 -e "s,${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX},${bindir},g" \ 182 -e "s,${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX},${bindir},g" \
183 -e 's:${RECIPE_SYSROOT}::g' \ 183 -e 's:${RECIPE_SYSROOT}::g' \
184 ${PKGD}${bindir}/h2xs \ 184 ${PKGD}${bindir}/h2xs.perl \
185 ${PKGD}${bindir}/h2ph \ 185 ${PKGD}${bindir}/h2ph.perl \
186 ${PKGD}${bindir}/pod2man \ 186 ${PKGD}${bindir}/pod2man.perl \
187 ${PKGD}${bindir}/pod2text \ 187 ${PKGD}${bindir}/pod2text.perl \
188 ${PKGD}${bindir}/pod2usage \ 188 ${PKGD}${bindir}/pod2usage.perl \
189 ${PKGD}${bindir}/podchecker \ 189 ${PKGD}${bindir}/podchecker.perl \
190 ${PKGD}${bindir}/podselect \ 190 ${PKGD}${bindir}/podselect.perl \
191 ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/config.h \ 191 ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/config.h \
192 ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/perl.h \ 192 ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/perl.h \
193 ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/pp.h \ 193 ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/pp.h \
@@ -202,6 +202,39 @@ perl_package_preprocess () {
202 ${PKGD}${libdir}/perl5/config.sh 202 ${PKGD}${libdir}/perl5/config.sh
203} 203}
204 204
205inherit update-alternatives
206
207ALTERNATIVE_PRIORITY = "100"
208
209ALTERNATIVE_${PN}-misc = "corelist cpan enc2xs encguess h2ph h2xs instmodsh json_pp libnetcfg \
210 piconv pl2pm pod2html pod2man pod2text pod2usage podchecker podselect \
211 prove ptar ptardiff ptargrep shasum splain xsubpp zipdetails"
212ALTERNATIVE_LINK_NAME[corelist] = "${bindir}/corelist"
213ALTERNATIVE_LINK_NAME[cpan] = "${bindir}/cpan"
214ALTERNATIVE_LINK_NAME[enc2xs] = "${bindir}/enc2xs"
215ALTERNATIVE_LINK_NAME[encguess] = "${bindir}/encguess"
216ALTERNATIVE_LINK_NAME[h2ph] = "${bindir}/h2ph"
217ALTERNATIVE_LINK_NAME[h2xs] = "${bindir}/h2xs"
218ALTERNATIVE_LINK_NAME[instmodsh] = "${bindir}/instmodsh"
219ALTERNATIVE_LINK_NAME[json_pp] = "${bindir}/json_pp"
220ALTERNATIVE_LINK_NAME[libnetcfg] = "${bindir}/libnetcfg"
221ALTERNATIVE_LINK_NAME[piconv] = "${bindir}/piconv"
222ALTERNATIVE_LINK_NAME[pl2pm] = "${bindir}/pl2pm"
223ALTERNATIVE_LINK_NAME[pod2html] = "${bindir}/pod2html"
224ALTERNATIVE_LINK_NAME[pod2man] = "${bindir}/pod2man"
225ALTERNATIVE_LINK_NAME[pod2text] = "${bindir}/pod2text"
226ALTERNATIVE_LINK_NAME[pod2usage] = "${bindir}/pod2usage"
227ALTERNATIVE_LINK_NAME[podchecker] = "${bindir}/podchecker"
228ALTERNATIVE_LINK_NAME[podselect] = "${bindir}/podselect"
229ALTERNATIVE_LINK_NAME[prove] = "${bindir}/prove"
230ALTERNATIVE_LINK_NAME[ptar] = "${bindir}/ptar"
231ALTERNATIVE_LINK_NAME[ptardiff] = "${bindir}/ptardiff"
232ALTERNATIVE_LINK_NAME[ptargrep] = "${bindir}/ptargrep"
233ALTERNATIVE_LINK_NAME[shasum] = "${bindir}/shasum"
234ALTERNATIVE_LINK_NAME[splain] = "${bindir}/splain"
235ALTERNATIVE_LINK_NAME[xsubpp] = "${bindir}/xsubpp"
236ALTERNATIVE_LINK_NAME[zipdetails] = "${bindir}/zipdetails"
237
205require perl-ptest.inc 238require perl-ptest.inc
206 239
207FILES_${PN} = "${bindir}/perl ${bindir}/perl.real ${bindir}/perl${PV} ${libdir}/libperl.so* \ 240FILES_${PN} = "${bindir}/perl ${bindir}/perl.real ${bindir}/perl${PV} ${libdir}/libperl.so* \