6.12. File-4.18

The File package contains a utility for determining the type of a given file or files.

6.12.1. Installation of file

This patch updates config.guess and config.sub for MIPS processors:

patch -Np1 -i ../file-4.18-config_update-1.patch

Prepare File for compilation:

./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET}

Compile the package:

make

This package does not come with a test suite.

Install the package:

make DESTDIR=${CLFS} install

Details on this package are located in Section 10.30.2, “Contents of File.”