mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
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:
parent
c32439318e
commit
2efa5eb452
@ -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>
|
||||
|
@ -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 > /usr/lib/pkgconfig/mad.pc << "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 &&
|
||||
make</userinput></screen>
|
||||
|
||||
|
@ -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 > /usr/lib/pkgconfig/mad.pc << "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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user