Installed
programs: less, lessecho, and
lesskey
The Less package contains a text file viewer.
Prepare Less for compilation:
./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--prefix=/usr --sysconfdir=/etc
The meaning of the configure option:
This option tells the programs created by the package to look in /etc for the configuration files.
Compile the package:
make
Install the package:
make prefix=${CLFS}/usr install
Move less to /bin:
mv -v ${CLFS}/usr/bin/less ${CLFS}/bin