lfs-scripts/scripts/chapter8/8.71-man-db.sh
2023-01-12 19:48:49 +05:30

35 lines
718 B
Bash

#!/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