live-bootstrap/sysa/libtool-1.4/libtool-1.4.sh

30 lines
697 B
Bash
Raw Normal View History

2021-03-12 00:28:29 +00:00
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
2021-03-12 00:28:29 +00:00
AUTOCONF=autoconf-2.13 AUTOHEADER=autoheader-2.13 ACLOCAL=aclocal-1.4 AUTOMAKE=automake-1.4 ./bootstrap
rm doc/libtool.info*
2021-03-12 00:28:29 +00:00
}
src_configure() {
CC=tcc LD=true AR="tcc -ar" ./configure \
2021-03-25 19:14:34 +00:00
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--disable-shared \
--host=i386-unknown-linux \
--target=i386-unknown-linux \
--build=i386-unknown-linux
2021-03-12 00:28:29 +00:00
}
src_compile() {
AR="tcc -ar" AR_FLAGS="cr" make MAKEINFO=true
}
src_install() {
make install MAKEINFO=true DESTDIR="${DESTDIR}"
2021-03-12 00:28:29 +00:00
}