mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Add 8.71 - Build man-db
This commit is contained in:
parent
84ee287484
commit
135b1c88a3
2 changed files with 47 additions and 0 deletions
35
scripts/chapter8/8.71-man-db.sh
Normal file
35
scripts/chapter8/8.71-man-db.sh
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
tar xf man-db-2.10.2.tar.xz
|
||||||
|
cd man-db-2.10.2
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--docdir=/usr/share/doc/man-db-2.10.2 \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--disable-setuid \
|
||||||
|
--enable-cache-owner=bin \
|
||||||
|
--with-browser=/usr/bin/lynx \
|
||||||
|
--with-vgrind=/usr/bin/vgrind \
|
||||||
|
--with-grap=/usr/bin/grap \
|
||||||
|
--with-systemdtmpfilesdir= \
|
||||||
|
--with-systemdsystemunitdir=
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make -j5
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make check
|
||||||
|
|
||||||
|
make install
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
rm -rf man-db-2.10.2
|
|
@ -1390,3 +1390,15 @@ then
|
||||||
stop_script "chapter8/8.70-eudev.sh"
|
stop_script "chapter8/8.70-eudev.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Chapter 8.71
|
||||||
|
# ============
|
||||||
|
echo "Building man-db"
|
||||||
|
su -c "bash $SCRIPT/chapter8/8.71-man-db.sh"
|
||||||
|
|
||||||
|
# Exit on error
|
||||||
|
check_exit_code
|
||||||
|
if [ $exit_status -ne 0 ]
|
||||||
|
then
|
||||||
|
stop_script "chapter8/8.71-man-db.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue