Rebuild bzip2 after building tcc and musl

The tcc-mes build of bzip2 was unable to open files from stdin.
This commit is contained in:
Paul Dersey 2021-02-23 20:28:23 -05:00
parent 62a413d384
commit a3ec56297f
6 changed files with 53 additions and 22 deletions

View file

@ -33,4 +33,4 @@ bzip2 --help
cd ../..
# Checksums
sha256sum -c checksums
sha256sum -c checksums/bzip2-pass1

21
sysa/bzip2-1.0.8/bzip2-1.0.8.sh Executable file
View file

@ -0,0 +1,21 @@
# 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() {
:
}
src_compile() {
make CC=tcc AR="tcc -ar" bzip2
}
src_install() {
install bzip2 ${PREFIX}/bin
install bzip2 ${PREFIX}/bin/bunzip2
}

View file

@ -0,0 +1,2 @@
d32467575bfbd6d74cd426205ba102194c0956688e6bc91399930313c68ee0dc /after/bin/bzip2
d32467575bfbd6d74cd426205ba102194c0956688e6bc91399930313c68ee0dc /after/bin/bunzip2

View file

@ -28,38 +28,41 @@ build musl-1.1.24 musl-1.1.24.sh checksums/pass2
build tcc-0.9.27 tcc-musl-pass2.sh checksums/tcc-musl-pass2
# Part 25
build m4-1.4.7
build bzip2-1.0.8 bzip2-1.0.8.sh checksums/bzip2-pass2
# Part 26
build flex-2.6.4
build m4-1.4.7
# Part 27
build flex-2.6.4
# Part 28
build bison-3.4.1 stage1.sh checksums/stage1
build bison-3.4.1 stage2.sh checksums/stage2
build bison-3.4.1 stage3.sh checksums/stage3
# Part 28
# Part 29
build grep-2.4
# Part 29
# Part 30
build diffutils-2.7
# Part 30
# Part 31
build coreutils-5.0 coreutils-5.0.sh checksums/pass2
# Part 31
# Part 32
build gawk-3.0.4
# Part 32
# Part 33
build perl-5.000
# Part 33
# Part 34
build perl-5.003
# Part 34
# Part 35
build perl5.004_05
# Part 35
# Part 36
build perl5.005_03
echo "Bootstrapping completed."