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
|
@ -325,3 +325,8 @@ be useful later for autotools.
|
||||||
|
|
||||||
`diffutils` is useful for comparing two files. It is not immediately needed but
|
`diffutils` is useful for comparing two files. It is not immediately needed but
|
||||||
is required later for autotools.
|
is required later for autotools.
|
||||||
|
|
||||||
|
#### Part 27: coreutils 5.0
|
||||||
|
|
||||||
|
`coreutils` is rebuilt against musl. Additional utilities are built including
|
||||||
|
`comm`, `expr`, `date`, `dd`, `sort`, `uname`, and `uniq`.
|
||||||
|
|
|
@ -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}"
|
||||||
|
}
|
File diff suppressed because one or more lines are too long
|
@ -35,4 +35,7 @@ build grep-2.4
|
||||||
# Part 26
|
# Part 26
|
||||||
build diffutils-2.7
|
build diffutils-2.7
|
||||||
|
|
||||||
|
# Part 27
|
||||||
|
build coreutils-5.0
|
||||||
|
|
||||||
echo "Bootstrapping completed."
|
echo "Bootstrapping completed."
|
||||||
|
|
Loading…
Reference in New Issue