mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
35 lines
718 B
Bash
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
|