Moved mad.pc to libmad section

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5061 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Tushar Teredesai 2005-09-13 02:53:12 +00:00
parent c32439318e
commit 2efa5eb452
3 changed files with 24 additions and 23 deletions

View File

@ -44,6 +44,9 @@
<listitem>
<para>September 12th, 2005</para>
<itemizedlist>
<listitem>
<para>[tushar] - Moved creation of mad.pc to libmad section.</para>
</listitem>
<listitem>
<para>[randy] - Updated to VTE-0.11.15.</para>
</listitem>

View File

@ -105,28 +105,6 @@
<para>Install <application>Cdrdao</application> by running the following
commands:</para>
<para>For MP3 support in the <command>gcdmaster</command> program,
you will need a temporary <filename>mad.pc</filename>. If desired, it can
be deleted after the build.</para>
<para>As the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>cat &gt; /usr/lib/pkgconfig/mad.pc &lt;&lt; "EOF"
<literal>prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: mad
Description: MPEG audio decoder
Requires:
Version: 0.15.1
Libs: -L${libdir} -lmad
Cflags: -I${includedir}</literal>
EOF</userinput></screen>
<para>And, as an unprivileged user:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>

View File

@ -69,7 +69,27 @@ make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<screen role="root"><userinput>make install</userinput></screen>
<para>Some packages check for the <application>pkg-config</application> file
for libmad. This file is particularly needed for <application>cdrdao</application>
to recognize the installed <application>libmad</application>.</para>
<para>As the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>cat &gt; /usr/lib/pkgconfig/mad.pc &lt;&lt; "EOF"
<literal>prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: mad
Description: MPEG audio decoder
Requires:
Version: &libmad-version;
Libs: -L${libdir} -lmad
Cflags: -I${includedir}</literal>
EOF</userinput></screen>
</sect2>