mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-14 00:59:43 +00:00
29 lines
409 B
Bash
29 lines
409 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
cd $LFS/sources
|
||
|
tar xf findutils-4.9.0.tar.xz
|
||
|
cd findutils-4.9.0
|
||
|
|
||
|
./configure --prefix=/usr \
|
||
|
--localstatedir=/var/lib/locate \
|
||
|
--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 findutils-4.9.0
|
||
|
|