add flex, bison, m4
This commit is contained in:
parent
925a0cdd0c
commit
0cd07e3c8d
6 changed files with 39 additions and 0 deletions
6
bison/build
Executable file
6
bison/build
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
wget https://ftp.gnu.org/gnu/bison/bison-3.7.6.tar.xz
|
||||||
|
tar -xf bison-3.7.6.tar.xz
|
||||||
|
cd bison-3.7.6
|
||||||
|
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.7.6
|
||||||
|
make
|
||||||
|
make install DESTDIR="$1"
|
5
bison/package
Executable file
5
bison/package
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
pkg_config_deploy=true
|
||||||
|
pkg_config_ver="3.7.6"
|
||||||
|
pkg_config_name="bison"
|
||||||
|
pkg_config_makedepends=""
|
||||||
|
pkg_config_depends=""
|
9
flex/build
Executable file
9
flex/build
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
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
|
||||||
|
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
|
||||||
|
make
|
||||||
|
make check
|
||||||
|
make install DESTDIR="$1"
|
||||||
|
ln -sv flex /usr/bin/lex
|
5
flex/package
Executable file
5
flex/package
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
pkg_config_deploy=true
|
||||||
|
pkg_config_ver="2.6.4"
|
||||||
|
pkg_config_name="flex"
|
||||||
|
pkg_config_makedepends=""
|
||||||
|
pkg_config_depends=""
|
9
m4/build
Executable file
9
m4/build
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
wget https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz
|
||||||
|
tar -xf m4-1.4.19.tar.xz
|
||||||
|
cd m4-1.4.19
|
||||||
|
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
||||||
|
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
||||||
|
./configure --prefix=/usr --build=$(build-aux/config.guess)
|
||||||
|
make
|
||||||
|
make install DESTDIR="$1"
|
||||||
|
|
5
m4/package
Executable file
5
m4/package
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
pkg_config_deploy=true
|
||||||
|
pkg_config_ver="1.4.18"
|
||||||
|
pkg_config_name="m4"
|
||||||
|
pkg_config_makedepends=""
|
||||||
|
pkg_config_depends=""
|
Loading…
Reference in a new issue