26 lines
518 B
Bash
Executable File
26 lines
518 B
Bash
Executable File
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
src_prepare() {
|
|
./bootstrap
|
|
}
|
|
|
|
src_configure() {
|
|
CC=tcc ./configure \
|
|
--prefix="${PREFIX}" \
|
|
--libdir="${PREFIX}/lib/musl" \
|
|
--disable-shared \
|
|
--host=i386-unknown-linux \
|
|
--target=i386-unknown-linux \
|
|
--build=i386-unknown-linux
|
|
}
|
|
|
|
src_compile() {
|
|
make MAKEINFO=true
|
|
}
|
|
|
|
src_install() {
|
|
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
|
}
|