mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 02:02:58 +01:00
Add bison 3.8.6
This commit is contained in:
parent
1b784cdf04
commit
6a77c8f426
8 changed files with 217 additions and 0 deletions
44
steps/bison-3.8.2/pass1.sh
Executable file
44
steps/bison-3.8.2/pass1.sh
Executable file
|
|
@ -0,0 +1,44 @@
|
|||
# SPDX-FileCopyrightText: 2021-22 Samuel Tyler <samuel@samuelt.me>
|
||||
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# 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*
|
||||
|
||||
# Remove gettext files
|
||||
rm runtime-po/*.gmo
|
||||
|
||||
# pregenerated gperf files
|
||||
for f in lib/iconv_open-*.h; do
|
||||
rm "$f"
|
||||
touch "$f"
|
||||
done
|
||||
|
||||
../../import-gnulib.sh
|
||||
|
||||
AUTOPOINT=true AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.71 -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" \
|
||||
--libdir="${LIBDIR}" \
|
||||
--disable-nls
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make -j1 MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue