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

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
}