Browse Source

chapter06: Translate pkg-config instruction

Xi Ruoyao 7 years ago
parent
commit
7abf0ac844
1 changed files with 11 additions and 8 deletions
  1. 11 8
      chapter06/pkgconfig.xml

+ 11 - 8
chapter06/pkgconfig.xml

@@ -23,9 +23,12 @@
   <sect2 role="package">
     <title/>
 
-    <para> The pkg-config package contains a tool for passing the include path
+    <!--para> The pkg-config package contains a tool for passing the include path
     and/or library paths to build tools during the configure and make file
-    execution.</para>
+    execution.</para-->
+    <para>pkg-config 软件包提供一个在 configure 和
+	    make 文件执行过程中向构建工具传递头文件和/或库文件路径的工具。
+	</para>
 
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
@@ -50,21 +53,21 @@
             --docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput></screen>
 
     <variablelist>
-      <title>The meaning of the new configure options:</title>
+      <title>新的配置选项的含义:</title>
 
       <varlistentry>
         <term><parameter>--with-internal-glib</parameter></term>
         <listitem>
-          <para>This will allow pkg-config to use its internal version of
-          Glib because an external version is not available in LFS.</para>
+          <para>该选项允许 pkg-config 使用它内部的 Glib 版本,
+          因为 LFS 不提供外部的 Glib 。</para>
         </listitem>
       </varlistentry>
 
       <varlistentry>
         <term><parameter>--disable-host-tool</parameter></term>
         <listitem>
-          <para>This option disables the creation of an undesired hard link
-          to the pkg-config program.</para>
+          <para>该选项防止创建一个指向 pkg-config 程序的不需要的硬链接。
+          </para>
         </listitem>
       </varlistentry>
 
@@ -106,7 +109,7 @@
          <!-- Don't remove the extra space, it prevents a FOP warning. -->
         <term><command>pkg-config </command></term>
         <listitem>
-          <para>Returns meta information for the specified library or package
+          <para>返回某个库或软件包的元数据信息
           </para>
           <indexterm zone="ch-system-pkgconfig pkgconfig">
             <primary sortas="b-pkgconfig">pkg-config</primary>