Add flex 2.5.33
This commit is contained in:
parent
338c85c8b8
commit
8d57161613
|
@ -63,3 +63,4 @@ c6c37e888b136ccefab903c51149f4b7bd659d69d4aea21245f61053a57aa60a tar-1.12.tar.g
|
|||
de23af78fca90ce32dff2dd45b3432b2334740bb9bb7b05bf60fdbfc396ceb9c tcc-0.9.27.tar.bz2
|
||||
1b700d375e253e88bdf79caa244284a899b80f59fd64fdd3aaa6408b7bd715ae untar.c
|
||||
166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490 xz-5.0.5.tar.bz2
|
||||
c40385e142989c91989413f3c5a31282b2ffdca16b69cd3ecfde537b8a474921 flex-2.5.33.tar.gz
|
||||
|
|
|
@ -631,3 +631,10 @@ mpc 3.2.1
|
|||
|
||||
GNU MPC is a library for multiprecision complex arithmetic with exact rounding based
|
||||
on GNU MPFR.
|
||||
|
||||
flex 2.5.33
|
||||
===========
|
||||
|
||||
An older version of flex is required for bison 2.3. We cannot use 2.5.11 that
|
||||
was compiled much earlier, as it does not produce reproducible output when
|
||||
building bison 2.3.
|
||||
|
|
3
sysa.py
3
sysa.py
|
@ -457,3 +457,6 @@ class SysA:
|
|||
|
||||
# mpc 1.2.1
|
||||
self.get_file("https://mirrors.kernel.org/gnu/mpc/mpc-1.2.1.tar.gz")
|
||||
|
||||
# flex 2.5.33
|
||||
self.get_file("http://download.nust.na/pub2/openpkg1/sources/DST/flex/flex-2.5.33.tar.gz")
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
8f497d6d82df2c6638654f43630559df83444d32f8e690109387d16db1d8d889 /after/bin/flex-2.5.33
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue