source: clfs-sysroot/BOOK/final-system/common/file.xml@ cc400ad

Last change on this file since cc400ad was cee2ca2, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Went through and made sure that every package in the final system that needs both --build and --host has them.

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-file" role="wrap">
9 <?dbhtml filename="file.html"?>
10
11 <title>File-&file-version;</title>
12
13 <indexterm zone="ch-system-file">
14 <primary sortas="a-File">File</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The File package contains a utility for determining the type of
21 a given file or files.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of File</title>
27
28 <para os="a">Prepare File for compilation:</para>
29
[cee2ca2]30<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31 --prefix=/usr</userinput></screen>
[02095ae]32
33 <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
37 <para os="e">Install the package:</para>
38
[586feb7]39<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[02095ae]40
41 </sect2>
42
43 <sect2 id="contents-file" role="content">
44 <title>Contents of File</title>
45
46 <segmentedlist>
47 <segtitle>Installed programs</segtitle>
48 <segtitle>Installed library</segtitle>
49
50 <seglistitem>
51 <seg>file</seg>
52 <seg>libmagic.[a,so]</seg>
53 </seglistitem>
54 </segmentedlist>
55
56 <variablelist>
57 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
58 <?dbfo list-presentation="list"?>
59 <?dbhtml list-presentation="table"?>
60
61 <varlistentry id="file">
62 <term><command>file</command></term>
63 <listitem>
64 <para>Tries to classify each given file; it does this by performing
65 several tests&mdash;file system tests, magic number tests, and
66 language tests</para>
67 <indexterm zone="ch-system-file file">
68 <primary sortas="b-file">file</primary>
69 </indexterm>
70 </listitem>
71 </varlistentry>
72
73 <varlistentry id="libmagic">
74 <term><filename class="libraryfile">libmagic</filename></term>
75 <listitem>
76 <para>Contains routines for magic number recognition, used by the
77 <command>file</command> program</para>
78 <indexterm zone="ch-system-file libmagic">
79 <primary sortas="c-libmagic">libmagic</primary>
80 </indexterm>
81 </listitem>
82 </varlistentry>
83
84 </variablelist>
85
86 </sect2>
87
88</sect1>
Note: See TracBrowser for help on using the repository browser.