mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-25 12:36:32 +01:00
Add perl 5.10.1
Used as an intermediate before perl 5.32.
This commit is contained in:
parent
d943b37962
commit
cd361e63f7
12 changed files with 648 additions and 0 deletions
36
sysa/perl-5.10.1/perl-5.10.1.sh
Executable file
36
sysa/perl-5.10.1/perl-5.10.1.sh
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
|
||||
# Regenerate bison files
|
||||
# perly.c looks suspiciously like it is from bison, but is not; from the
|
||||
# below script:
|
||||
# Note that perly.c is *not* regenerated - this is now a static file which
|
||||
# is not dependent on perly.y any more.
|
||||
perl regen_perly.pl -b bison-2.3
|
||||
# Remove the source file so make works.
|
||||
rm perly.y
|
||||
|
||||
# Regenerate other prebuilt header files
|
||||
# Taken from headers of regen scripts
|
||||
rm lib/warnings.pm warnings.h regnodes.h reentr.h reentr.c overload.h \
|
||||
overload.c lib/overload/numbers.pm opcode.h opnames.h pp_proto.h \
|
||||
pp.sym keywords.h embed.h embedvar.h global.sym perlapi.c perlapi.h \
|
||||
proto.h
|
||||
perl regen.pl
|
||||
|
||||
mkdir -p ext/File ext/Digest ext/Data
|
||||
mv ext/File-Glob ext/File/Glob
|
||||
mv ext/Digest-SHA ext/Digest/SHA
|
||||
mv ext/Data-Dumper ext/Data/Dumper
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove old perl
|
||||
rm -rf "${PREFIX}"/lib/perl5/
|
||||
|
||||
default
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue