mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 17:53:00 +01:00
Add bison 3.4.2.
This commit is contained in:
parent
96c935456c
commit
a392b7bac9
10 changed files with 199 additions and 0 deletions
32
sysa/bison-3.4.2/bison-3.4.2.sh
Executable file
32
sysa/bison-3.4.2/bison-3.4.2.sh
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove pre-generated flex/bison files
|
||||
rm src/parse-gram.c src/parse-gram.h
|
||||
rm src/scan-code.c
|
||||
rm src/scan-gram.c
|
||||
rm src/scan-skel.c
|
||||
|
||||
# Remove pregenerated info files
|
||||
rm doc/bison.info
|
||||
|
||||
../../import-gnulib.sh
|
||||
|
||||
AUTOPOINT=true autoreconf -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" --disable-nls
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue