mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 16:55:25 +01:00
Add bison 2.3
This is required for perl 5.10.1.
This commit is contained in:
parent
8d57161613
commit
d943b37962
11 changed files with 178 additions and 0 deletions
32
sysa/bison-2.3/bison-2.3.sh
Executable file
32
sysa/bison-2.3/bison-2.3.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
|
||||
|
||||
../../import-gnulib.sh
|
||||
|
||||
AUTOPOINT=true autoreconf-2.65 -fi
|
||||
|
||||
# Remove pregenerated files
|
||||
rm src/parse-gram.c src/parse-gram.h src/scan-skel.c src/scan-gram.c
|
||||
|
||||
# Remove pregenerated .info
|
||||
rm doc/bison.info
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
LEX=flex-2.5.33 ./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--program-suffix=-2.3 \
|
||||
--datarootdir="${PREFIX}/share/bison-2.3"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue