mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-09 23:19:44 +00:00
27 lines
346 B
Bash
27 lines
346 B
Bash
#!/bin/bash
|
|
|
|
cd $LFS/sources
|
|
tar xf tar-1.34.tar.xz
|
|
cd tar-1.34
|
|
|
|
./configure --prefix=/usr \
|
|
--host=$LFS_TGT \
|
|
--build=$(build-aux/config.guess)
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make DESTDIR=$LFS install
|
|
|
|
cd $LFS/sources
|
|
rm -rf tar-1.34
|
|
|