mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
44 lines
870 B
Bash
44 lines
870 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf e2fsprogs-1.46.5.tar.gz
|
|
cd e2fsprogs-1.46.5
|
|
|
|
mkdir -v build
|
|
cd build
|
|
|
|
../configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--enable-elf-shlibs \
|
|
--disable-libblkid \
|
|
--disable-libuuid \
|
|
--disable-uuidd \
|
|
--disable-fsck
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make check
|
|
|
|
make install
|
|
|
|
rm -fv /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a
|
|
|
|
gunzip -v /usr/share/info/libext2fs.info.gz
|
|
install-info --dir-file=/usr/share/info/dir /usr/share/info/libext2fs.info
|
|
|
|
makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo
|
|
install -v -m644 doc/com_err.info /usr/share/info
|
|
install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info
|
|
|
|
cd /sources
|
|
rm -rf e2fsprogs-1.46.5
|