mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-25 04:26:31 +01:00
Add e2fsprogs 1.45.7
Additionally, fix downloading in chunks for some files.
This commit is contained in:
parent
8008de8e73
commit
6ea1b8e295
7 changed files with 181 additions and 4 deletions
49
sysa/e2fsprogs-1.45.7/e2fsprogs-1.45.7.sh
Executable file
49
sysa/e2fsprogs-1.45.7/e2fsprogs-1.45.7.sh
Executable file
|
|
@ -0,0 +1,49 @@
|
|||
# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# Get remaining utf files
|
||||
cp ${DISTFILES}/*.txt ${pkg}/
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Rebuild libtool files
|
||||
rm config/config.guess config/config.sub config/ltmain.sh
|
||||
libtoolize -i
|
||||
|
||||
autoreconf -fi
|
||||
|
||||
# Remove bison parser generated
|
||||
rm intl/plural.y
|
||||
|
||||
# Setup for regeneratation of lib/ext2fs/utf8data.h
|
||||
rm lib/ext2fs/utf8data.h
|
||||
|
||||
# Fix compile_et
|
||||
sed -r -i "s/ > ?outfile//" lib/et/et_c.awk lib/et/et_h.awk lib/ss/ct_c.awk
|
||||
|
||||
# Disable int
|
||||
sed -i "s/@LIBINTL@//" MCONFIG.in
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" \
|
||||
--sbindir="${PREFIX}/bin" \
|
||||
with_udev_rules_dir=no \
|
||||
with_systemd_unit_dir=no
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Regen utf8data
|
||||
make -C util mkutf8data
|
||||
util/mkutf8data -o lib/ext2fs/utf8data.h
|
||||
# Why does mkutf8data generate something not usable by build?
|
||||
sed -i "s/nfkdi/nfdi/g" lib/ext2fs/utf8data.h
|
||||
|
||||
default
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue