mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06:32 +01:00
Remove unversioned autoconf symlink from all but the latest autoconf. This makes it clearer which autoconf is used.
49 lines
1.1 KiB
Bash
Executable file
49 lines
1.1 KiB
Bash
Executable file
# 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
|
|
|
|
AUTOCONF=autoconf-2.64 AUTOM4TE=autom4te-2.64 autoreconf-2.64 -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
|
|
}
|