mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
44 lines
937 B
Bash
Executable file
44 lines
937 B
Bash
Executable file
# 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
|
|
}
|