Add heirloom yacc.
This commit is contained in:
parent
221a817527
commit
89ca88eaea
|
@ -119,6 +119,9 @@ get_file https://ftp.gnu.org/gnu/coreutils/coreutils-5.0.tar.bz2
|
||||||
# grep 2.4
|
# grep 2.4
|
||||||
get_file https://ftp.gnu.org/gnu/grep/grep-2.4.tar.gz
|
get_file https://ftp.gnu.org/gnu/grep/grep-2.4.tar.gz
|
||||||
|
|
||||||
|
# heirloom-devtools
|
||||||
|
get_file http://downloads.sourceforge.net/project/heirloom/heirloom-devtools/070527/heirloom-devtools-070527.tar.bz2
|
||||||
|
|
||||||
# bash 2.05b
|
# bash 2.05b
|
||||||
get_file https://ftp.gnu.org/pub/gnu/bash/bash-2.05b.tar.gz
|
get_file https://ftp.gnu.org/pub/gnu/bash/bash-2.05b.tar.gz
|
||||||
|
|
||||||
|
|
|
@ -130,6 +130,12 @@ cd ${pkg}
|
||||||
kaem --file ${pkg}.kaem
|
kaem --file ${pkg}.kaem
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# Part 16: heirloom-devtools
|
||||||
|
pkg="heirloom-devtools-070527"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
# Part 17: bash
|
# Part 17: bash
|
||||||
pkg="bash-2.05b"
|
pkg="bash-2.05b"
|
||||||
cd ${pkg}
|
cd ${pkg}
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
|
||||||
|
bindir=/after/bin
|
||||||
|
|
||||||
|
# Extract
|
||||||
|
bunzip2 ../src/${pkg}.tar.bz2
|
||||||
|
tar xf ../src/${pkg}.tar ${pkg}/yacc ${pkg}/lex
|
||||||
|
cd ${pkg}
|
||||||
|
|
||||||
|
# Prepare and patch
|
||||||
|
patch -Np0 -i ../../patches/yacc_remove_wchar.patch
|
||||||
|
|
||||||
|
# Build yacc
|
||||||
|
cd yacc
|
||||||
|
make -f Makefile.mk CC=tcc AR=tcc\ -ar CFLAGS=-DMAXPATHLEN=100\ -DEILSEQ=84\ -DMB_LEN_MAX=100 LDFLAGS=-lgetopt RANLIB=true
|
||||||
|
|
||||||
|
# Install yacc
|
||||||
|
install yacc ${bindir}
|
||||||
|
install -m 644 yaccpar /
|
||||||
|
|
||||||
|
cd ../../..
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue