repo/flex/build

17 lines
425 B
Text
Raw Normal View History

2021-07-13 22:38:00 +03:00
wget https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
tar -xf flex-2.6.4.tar.gz
cd flex-2.6.4
2021-07-13 22:38:00 +03:00
sed -i "/math.h/a #include <malloc.h>" src/flexdef.h
HELP2MAN=/tools/bin/true ./configure --prefix=/usr --docdir=/usr/share/doc/flex-2.6.4
2021-07-13 22:38:00 +03:00
make
make check
make install DESTDIR="$1"
2021-07-14 17:32:54 +03:00
<<<<<<< HEAD
2021-07-14 10:06:05 +03:00
ln -sv flex $1/usr/bin/lex
2021-07-14 17:32:54 +03:00
=======
2021-07-13 22:38:00 +03:00
ln -sv flex /usr/bin/lex
2021-07-14 17:32:54 +03:00
>>>>>>> e1d9880bd99d6d808dc9beccdf707f6d87bedae6