glfs/general/genlib/libffi.xml
Bruce Dubbs a82c7968ff Update to libffi-3.0.11
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10234 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-05-25 02:47:12 +00:00

127 lines
3.7 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libffi-download-http " ">
<!ENTITY libffi-download-ftp "ftp://sourceware.org/pub/libffi/libffi-&libffi-version;.tar.gz">
<!ENTITY libffi-md5sum "f69b9693227d976835b4857b1ba7d0e3">
<!ENTITY libffi-size "780 KB">
<!ENTITY libffi-buildsize "6.8 MB">
<!ENTITY libffi-time "0.1 SBU">
]>
<sect1 id="libffi" xreflabel="libffi-&libffi-version;">
<?dbhtml filename="libffi.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libffi-&libffi-version;</title>
<indexterm zone="libffi">
<primary sortas="a-libffi">libffi</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libffi</title>
<para>The <application>libffi</application> library provides a portable,
high level programming interface to various calling conventions. This
allows a programmer to call any function specified by a call interface
description at run time.</para>
&lfs71_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&libffi-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libffi-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libffi-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libffi-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libffi-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libffi-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/libffi-&libffi-version;-includedir-1.patch"/>
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of libffi</title>
<para>Install <application>libffi</application> by running the following
commands:</para>
<screen><userinput>patch -Np1 -i ../libffi-&libffi-version;-includedir-1.patch &amp;&amp;
./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>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libffi.{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="libffi-lib">
<term><filename class='libraryfile'>libffi.{so,a}</filename></term>
<listitem>
<para>contains the <application>libffi</application> API
functions.</para>
<indexterm zone="libffi libffi-lib">
<primary sortas="c-libffi">libffi.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>