Merge pull request #34 from pder/coreutils2
Rebuild coreutils-5.0 with tcc+musl and more utilities
This commit is contained in:
commit
9bd3ba745c
|
@ -326,7 +326,12 @@ be useful later for autotools.
|
|||
`diffutils` is useful for comparing two files. It is not immediately needed but
|
||||
is required later for autotools.
|
||||
|
||||
#### Part 27: gawk 3.0.4
|
||||
#### Part 27: coreutils 5.0
|
||||
|
||||
`coreutils` is rebuilt against musl. Additional utilities are built including
|
||||
`comm`, `expr`, `date`, `dd`, `sort`, `uname`, and `uniq`.
|
||||
|
||||
#### Part 28: gawk 3.0.4
|
||||
|
||||
`gawk` is the GNU implementation of `awk`, yet another pattern matching and data
|
||||
extraction utility. It is also required for autotools.
|
||||
extraction utility. It is also required for autotools.
|
|
@ -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
|
@ -36,6 +36,9 @@ build grep-2.4
|
|||
build diffutils-2.7
|
||||
|
||||
# Part 27
|
||||
build coreutils-5.0
|
||||
|
||||
# Part 28
|
||||
build gawk-3.0.4
|
||||
|
||||
echo "Bootstrapping completed."
|
||||
|
|
Loading…
Reference in New Issue