Add flex 2.5.33

This commit is contained in:
fosslinux 2021-05-24 09:45:07 +10:00
parent 338c85c8b8
commit 8d57161613
6 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1 @@
8f497d6d82df2c6638654f43630559df83444d32f8e690109387d16db1d8d889 /after/bin/flex-2.5.33

29
sysa/flex-2.5.33/flex-2.5.33.sh Executable file
View file

@ -0,0 +1,29 @@
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
AUTOPOINT=true autoreconf -fi
# Remove pregenerated files
rm parse.c parse.h scan.c
# Remove pregenerated .info
rm doc/flex.info
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--program-suffix=-2.5.33
}
src_compile() {
make MAKEINFO=true
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}

View file

@ -34,6 +34,8 @@ build mpfr-4.1.0
build mpc-1.2.1
build flex-2.5.33
if [ "$FORCE_TIMESTAMPS" = True ] ; then
echo 'Forcing all files timestamps to be 0 unix time.'
canonicalise_all_files_timestamp