Use of a Linux initramfs to fully automate the bootstrapping process
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
506 B

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <>
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
# Regenerate bison files
rm perly.c perly.h
bison -d perly.y
mv perly.c
mv perly.h
# Regenerate other prebuilt header files
for file in embed keywords opcode; do
rm ${file}.h
perl ${file}.pl
src_install() {
# Remove old perl
rm -rf "${PREFIX}"/lib/perl5/