mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 10:13:01 +01:00
Rename perl5.004_05 and perl5.005_03
The underscores cause problems later, as _ is a delimiter for "revision number" in packaging.
This commit is contained in:
parent
4fb8efafe2
commit
634ec99771
11 changed files with 12 additions and 8 deletions
|
|
@ -1,30 +0,0 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Regenerate bison files
|
||||
rm -f 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 -f ${file}.h
|
||||
perl ${file}.pl
|
||||
done
|
||||
rm -f regnodes.h
|
||||
perl regcomp.pl
|
||||
rm -f fbyterun.h byterun.c
|
||||
perl bytecode.pl
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove old perl
|
||||
rm -rf "${PREFIX}"/lib/perl5/
|
||||
|
||||
default
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue