mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
37 lines
583 B
Bash
37 lines
583 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf inetutils-2.3.tar.xz
|
|
cd inetutils-2.3
|
|
|
|
./configure --prefix=/usr \
|
|
--bindir=/usr/bin \
|
|
--localstatedir=/var \
|
|
--disable-logger \
|
|
--disable-whois \
|
|
--disable-rcp \
|
|
--disable-rexec \
|
|
--disable-rlogin \
|
|
--disable-rsh \
|
|
--disable-servers
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make check
|
|
|
|
make install
|
|
|
|
mv -v /usr/{,s}bin/ifconfig
|
|
|
|
cd /sources
|
|
rm -rf inetutils-2.3
|