mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
19 lines
221 B
Bash
19 lines
221 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf bison-3.8.2.tar.xz
|
|
cd bison-3.8.2
|
|
|
|
./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.2
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make check
|
|
|
|
make install
|
|
|
|
cd /sources
|
|
rm -rf bison-3.8.2
|