mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
bc: update to 1.08.1
This commit is contained in:
parent
b96c19188f
commit
43b8f4a706
6 changed files with 13 additions and 4 deletions
29
steps/bc-1.08.1/pass1.sh
Executable file
29
steps/bc-1.08.1/pass1.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
# SPDX-FileCopyrightText: © 2023 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2025 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
# Remove bison/flex generated files
|
||||
rm bc/bc.c bc/bc.h bc/scan.c
|
||||
|
||||
# Skip documentation
|
||||
sed -i 's/ doc//' Makefile.am
|
||||
rm doc/*.info
|
||||
|
||||
# Pregenerated header
|
||||
rm bc/libmath.h
|
||||
|
||||
# Rebuild configure script
|
||||
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" \
|
||||
--build=i386-unknown-linux-musl
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# racey when building libmath.h
|
||||
make -j1 PREFIX="${PREFIX}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue