mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
32 lines
450 B
Bash
32 lines
450 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf expect5.45.4.tar.gz
|
|
cd expect5.45.4
|
|
|
|
./configure --prefix=/usr \
|
|
--with-tcl=/usr/lib \
|
|
--enable-shared \
|
|
--mandir=/usr/share/man \
|
|
--with-tclinclude=/usr/include
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make test
|
|
|
|
make install
|
|
ln -svf expect5.45.4/libexpect5.45.4.so /usr/lib
|
|
|
|
cd /sources
|
|
rm -rf expect5.45.4
|
|
|