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.
 
 
 
 
 
 

27 lines
440 B

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
mv Makefile src/
touch src/config.h
rm src/parse.c src/parse.h src/scan.c src/skel.c
}
src_compile() {
cd src
default
cd ..
}
src_install() {
cd src
default
cd ..
# Remove yacc, we won't need it any longer
rm ${PREFIX}/bin/yacc
rm /yaccpar
}