mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 17:53:00 +01:00
It seems that there is some instability of git snapshot packages. I think newer version of git on the remote server packages them in a different directory layout.
24 lines
627 B
Bash
Executable file
24 lines
627 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
|
|
|
|
# libunistring does not specify which gnulib snapshot was used,
|
|
# pick a random one that works
|
|
GNULIB_TOOL=../gnulib-52a06cb3/gnulib-tool ./autogen.sh
|
|
|
|
# autogen.sh does not regenerate libtool files
|
|
autoreconf-2.69 -fi
|
|
}
|
|
|
|
src_configure() {
|
|
./configure \
|
|
--prefix="${PREFIX}" \
|
|
--build=i386-unknown-linux-gnu \
|
|
--host=i386-unknown-linux-gnu \
|
|
--target=i386-unknown-linux-gnu \
|
|
--libdir="${PREFIX}/lib/musl" \
|
|
--disable-shared
|
|
}
|