mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-15 07:45:24 +01:00
Switch to perl tarballs generated from archiving git tags.
This commit is contained in:
parent
e9455c8463
commit
621b099a57
12 changed files with 28 additions and 8 deletions
|
|
@ -3,4 +3,6 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# This file replaces keywords.pl
|
||||
|
||||
sed -e '1,/__END__/ d' keywords.pl | sed '1d' | awk '{print "#define", "KEY_"$0, NR-1}' > keywords.h
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# This file replaces opcode.pl
|
||||
|
||||
sed -e '1,/__END__/ d; s/[#].*$//g; /^$/d' opcode.pl | tr -s '\t' '\t' > data
|
||||
|
||||
|
|
@ -2,21 +2,31 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_unpack() {
|
||||
default_src_unpack
|
||||
|
||||
mv perl5-perl-5.000 perl-5.000
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
|
||||
# Remove and regenerate bison files
|
||||
rm perly.c perly.h
|
||||
bison -d perly.y
|
||||
mv perly.tab.c perly.c
|
||||
mv perly.tab.h perly.h
|
||||
|
||||
# Regenerate embed.h
|
||||
rm embed.h
|
||||
./embed_h.SH
|
||||
|
||||
# Regenerate keywords.h
|
||||
rm keywords.h
|
||||
chmod +x keywords.sh
|
||||
./keywords.sh
|
||||
|
||||
|
||||
# Regenerate opcode.h
|
||||
rm opcode.h
|
||||
chmod +x opcode.sh
|
||||
./opcode.sh
|
||||
|
|
@ -2,14 +2,22 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_unpack() {
|
||||
default_src_unpack
|
||||
|
||||
mv perl5-perl-5.003 perl-5.003
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
|
||||
# Regenerate bison files
|
||||
rm perly.c perly.h
|
||||
bison -d perly.y
|
||||
mv perly.tab.c perly.c
|
||||
mv perly.tab.h perly.h
|
||||
|
||||
# Regenerate other prebuilt header files
|
||||
for file in embed keywords opcode; do
|
||||
rm ${file}.h
|
||||
perl ${file}.pl
|
||||
|
|
@ -42,9 +42,9 @@ build coreutils-5.0
|
|||
build gawk-3.0.4
|
||||
|
||||
# Part 29
|
||||
build perl5.000
|
||||
build perl-5.000
|
||||
|
||||
# Part 30
|
||||
build perl5.003
|
||||
build perl-5.003
|
||||
|
||||
echo "Bootstrapping completed."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue