live-bootstrap/sysc/gperf-3.1/gperf-3.1.sh
Andrius Štikonas e748d62a62 Build gperf statically
Build both static and shared libraries for:
* libunistring
* libatomic_ops
* libffi
* gc
2022-09-19 14:33:36 +01:00

21 lines
478 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021-2022 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
urls="https://mirrors.kernel.org/gnu/gperf/gperf-3.1.tar.gz"
src_prepare() {
find . -name '*.info*' -delete
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() {
LDFLAGS="-static" ./configure --prefix="${PREFIX}"
}