mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 13:55:24 +01:00
* Bzip2 was manually installed directly into filesystem, so bzip2 package was empty. Fixed by installing it to destdir. bzip2 moves out its binary before installing its own package. * sha256sum from stage0-posix was not checking any checksums because it does not accept piped input. Fixed by using temporary file. * grep was broken for a short time (but with fixed bzip2 package this caused failures) due to touch creating grep file of zero size (egrep symlink was touched). Fixed by implementing touch -h Resolves #156, resolves #166, resolves #167
19 lines
529 B
Bash
Executable file
19 lines
529 B
Bash
Executable file
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
|
# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
|
|
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
src_prepare() {
|
|
:
|
|
}
|
|
|
|
src_compile() {
|
|
make CC=tcc AR="tcc -ar" bzip2
|
|
}
|
|
|
|
src_install() {
|
|
install -D bzip2 "${DESTDIR}${PREFIX}/bin/bzip2"
|
|
ln -sf "${PREFIX}/bin/bzip2" "${DESTDIR}${PREFIX}/bin/bunzip2"
|
|
ln -sf "${PREFIX}/bin/bzip2" "${DESTDIR}${PREFIX}/bin/bzcat"
|
|
}
|