mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-25 05:02:53 +00:00
25 lines
275 B
Bash
25 lines
275 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf tar-1.34.tar.xz
|
|
cd tar-1.34
|
|
|
|
FORCE_UNSAFE_CONFIGURE=1 \
|
|
./configure --prefix=/usr
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make check
|
|
|
|
make install
|
|
make -C doc install-html docdir=/usr/share/doc/tar-1.34
|