lfs-scripts/scripts/chapter8/8.8-xz.sh

30 lines
303 B
Bash
Raw Normal View History

2023-01-10 09:38:11 +00:00
#!/bin/bash
cd /sources
tar xf xz-5.2.6.tar.xz
cd xz-5.2.6
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/xz-5.2.6
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf xz-5.2.6