File package contains a utility for determining the type of a given file or files.
Download HTTP: https://astron.com/pub/file/file-5.47.tar.gz
Download SHA256 Sum: 45672fec165cb4cc1358a2d76b5d57d22876dcb97ab169427ac385cbe1d5597a
Download Size: 2,614 KB
Estimated Disk Space: 31.5M
Estimated Build Time: less than 0.5 SBU
Diffutils-3.12
Prepare File for compilation:
mkdir build
pushd build
../configure --disable-bzlib --disable-libseccomp \
--disable-xzlib --disable-zlib
make
popd
Now Configure the Package, issue:
./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(./config.guess)
To Compile the Package, issue:
make FILE_COMPILE=$(pwd)/build/src/file
Now Install the Package, issue:
make DESTDIR=$LFS install rm -v $LFS/usr/lib/libmagic.la