Initial commit of LFS notes and scripts.
This commit is contained in:
35
lfs-scripts/mandb.sh
Normal file
35
lfs-scripts/mandb.sh
Normal file
@@ -0,0 +1,35 @@
|
||||
# Set the package we're building.
|
||||
package="man-db-2.12.1"
|
||||
extension=".tar.xz"
|
||||
|
||||
# Decompress the source.
|
||||
echo "Unpacking ${package}${extension} ..."
|
||||
tar xvf ${package}${extension}
|
||||
|
||||
# Enter the unpacked sources.
|
||||
echo "Entering ${package} directory ..."
|
||||
cd ${package}
|
||||
|
||||
# LFS commands.
|
||||
./configure --prefix=/usr \
|
||||
--docdir=/usr/share/doc/man-db-2.12.1 \
|
||||
--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=
|
||||
make
|
||||
make check
|
||||
make install
|
||||
|
||||
|
||||
# Exit sources directory.
|
||||
echo "Exiting ${package} directory ..."
|
||||
cd ..
|
||||
|
||||
# Remove the directory of source files.
|
||||
echo "Removing ${package} directory ..."
|
||||
rm -rf ${package}
|
||||
Reference in New Issue
Block a user