live-bootstrap/sysa/mpc-1.2.1/mpc-1.2.1.sh
Andrius Štikonas 6ea1ff2e54 GNU MPC 1.2.1
2021-04-19 00:32:00 +01:00

27 lines
584 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default_src_prepare
find . -name '*.info' -delete
autoreconf-2.69 -fi
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu
}
src_compile() {
make MAKEINFO=true DESTDIR="${DESTDIR}"
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}