mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 00:05:24 +01:00
Rebuild coreutils-5.0 with tcc+musl and more utilities
Add comm, expr, date, dd, sort, uname, uniq
This commit is contained in:
parent
1eb67e5fd1
commit
d5a9f4c9ea
4 changed files with 159 additions and 0 deletions
25
sysa/coreutils-5.0/coreutils-5.0.sh
Executable file
25
sysa/coreutils-5.0/coreutils-5.0.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_unpack() {
|
||||
src_dir="${base_dir}/src"
|
||||
tar -xf "${src_dir}/${pkg}.tar"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp lib/fnmatch_.h lib/fnmatch.h
|
||||
cp lib/ftw_.h lib/ftw.h
|
||||
cp lib/search_.h lib/search.h
|
||||
touch config.h
|
||||
|
||||
cp "${mk_dir}/pass2.mk" Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make -f Makefile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make -f Makefile install PREFIX="${PREFIX}"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue