2021-06-27 16:10:10 +01:00
|
|
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
find . -name '*.info*' -delete
|
|
|
|
|
|
|
|
# libunistring does not specify which gnulib snapshot was used,
|
|
|
|
# pick a random one that works
|
2021-07-03 11:47:48 +01:00
|
|
|
GNULIB_TOOL=../gnulib-52a06cb3/gnulib-tool ./autogen.sh
|
2021-06-27 16:10:10 +01:00
|
|
|
|
|
|
|
# autogen.sh does not regenerate libtool files
|
|
|
|
autoreconf-2.69 -fi
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
./configure \
|
|
|
|
--prefix="${PREFIX}" \
|
|
|
|
--libdir="${PREFIX}/lib/musl" \
|
|
|
|
--disable-shared
|
|
|
|
}
|