live-bootstrap/sysa/findutils-4.2.33/findutils-4.2.33.sh

26 lines
515 B
Bash
Raw Normal View History

2021-03-25 17:52:31 +00:00
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
2021-04-08 21:24:43 +01:00
. ../../import-gnulib.sh
2021-03-25 17:52:31 +00:00
autoreconf-2.61 -f
# Pre-build texinfo files
rm doc/find.info
2021-03-25 17:52:31 +00:00
}
src_configure() {
# Musl is not recognized, pretend to be uClibc
CC=tcc ./configure --prefix="${PREFIX}" CPPFLAGS="-D__UCLIBC__"
}
src_compile() {
make MAKEINFO=true DESTDIR="${DESTDIR}"
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}