live-bootstrap/steps/gperf-3.1/pass1.sh
Samuel Tyler cf61139126
Move some things around for the sake of gettext
Gettext needs

- gperf
- python 2.3+

to regenerate files
2026-01-02 10:09:45 +11:00

27 lines
575 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
find . -name '*.info*' -delete -exec touch {} +
for d in doc tests lib src; do
cd $d
ln -s ../aclocal.m4 aclocal.m4
autoreconf-2.71 -fi
cd ..
done
autoreconf-2.71 -fi
}
src_configure() {
./configure --prefix="${PREFIX}"
}
src_compile() {
make "${MAKEJOBS}" MAKEINFO=true PREFIX="${PREFIX}"
}
src_install() {
make MAKEINFO=true PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" install
}