mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 10:25:25 +01:00
19 lines
423 B
Bash
Executable file
19 lines
423 B
Bash
Executable file
# When we rebuild flex it no longer needs patching
|
|
# and can use simplified makefile
|
|
src_prepare() {
|
|
default_src_prepare
|
|
|
|
touch config.h
|
|
rm parse.c parse.h scan.c skel.c
|
|
}
|
|
|
|
src_install() {
|
|
if test -d /lex; then
|
|
# Remove lex, later make install will symlink lex to flex
|
|
rm -rf /lex
|
|
rm -f "${PREFIX}/bin/lex"
|
|
rm -f "${PREFIX}/lib/libl.a"
|
|
fi
|
|
|
|
default_src_install
|
|
}
|