glfs/multimedia/libdriv/libmad.xml
Randy McMurchy 115fbe40d8 Minor text cleanup to the libmad instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5503 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-12-29 15:39:46 +00:00

136 lines
4.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libmad-download-http "http://prdownloads.sourceforge.net/mad/libmad-&libmad-version;.tar.gz">
<!ENTITY libmad-download-ftp "ftp://ftp.mars.org/pub/mpeg/libmad-&libmad-version;.tar.gz">
<!ENTITY libmad-md5sum "1be543bc30c56fb6bea1d7bf6a64e66c">
<!ENTITY libmad-size "494 KB">
<!ENTITY libmad-buildsize "4.2 MB">
<!ENTITY libmad-time "0.1 SBU">
]>
<sect1 id="libmad" xreflabel="libmad-&libmad-version;">
<?dbhtml filename="libmad.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
<keywordset>
<keyword role="package">libmad-&libmad-version;.tar</keyword>
<keyword role="ftpdir">libmad</keyword>
</keywordset>
</sect1info>
<title>libmad-&libmad-version;</title>
<indexterm zone="libmad">
<primary sortas="a-Libmad">Libmad</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libmad</title>
<para><application>libmad</application> is a high-quality
MPEG audio decoder capable of 24-bit output.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&libmad-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libmad-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libmad-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libmad-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libmad-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libmad-time;</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of libmad</title>
<para>Install <application>libmad</application> by running the
following commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>Some packages check for the <application>pkg-config</application> file
for <application>libmad</application>. This file is particularly needed so
that <application>Cdrdao</application> can 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>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libmad.[so,a]</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libmad-lib">
<term><filename class='libraryfile'>libmad.[so,a]</filename></term>
<listitem>
<para>is a MPEG audio decoder library.</para>
<indexterm zone="libmad libmad-lib">
<primary sortas="c-libmad">libmad.[so,a]</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>