mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-14 08:59:45 +00:00
30 lines
375 B
Bash
30 lines
375 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf expat-2.4.8.tar.xz
|
|
cd expat-2.4.8
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--docdir=/usr/share/doc/expat-2.4.8
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make check
|
|
|
|
make install
|
|
|
|
install -v -m644 doc/*.{html,css} /usr/share/doc/expat-2.4.8
|
|
|
|
cd /sources
|
|
rm -rf expat-2.4.8
|