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