lfs-scripts/scripts/chapter8/8.71-man-db.sh

36 lines
718 B
Bash
Raw Normal View History

2023-01-12 14:18:49 +00:00
#!/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