Difference between revisions of "Expat"

From CBLFS
Jump to navigationJump to search
m (I fixed the vertical alignment in of the table in the "Contents" section.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/expat/expat-2.0.0.tar.gz
+
| http://prdownloads.sourceforge.net/expat/expat-{{Expat-Version}}.tar.gz
 
|-
 
|-
 
|}
 
|}
Line 24: Line 24:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/expat-2.0.0 &&
+
  install -v -m755 -d /usr/share/doc/expat-{{Expat-Version}} &&
  install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.0.0
+
  install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-{{Expat-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 61: Line 61:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/expat-2.0.0 &&
+
  install -v -m755 -d /usr/share/doc/expat-{{Expat-Version}} &&
  install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.0.0
+
  install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-{{Expat-Version}}
  
 
== Contents ==
 
== Contents ==
Line 75: Line 75:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directory:
 
! Installed Directory:
| /usr/share/doc/expat-2.0.0
+
| /usr/share/doc/expat-{{Expat-Version}}
 
|}
 
|}
  

Revision as of 15:07, 16 December 2006

Download Source: http://prdownloads.sourceforge.net/expat/expat-2.1.0.tar.gz

Introduction to Expat

The Expat package contains a stream oriented C library for parsing XML.

Dependencies

Non-Multilib

Configure and compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install &&
install -v -m755 -d /usr/share/doc/expat-2.1.0 &&
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.1.0

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install &&
install -v -m755 -d /usr/share/doc/expat-2.1.0 &&
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.1.0

Contents

Installed Programs: xmlwf
Installed Libraries: libexpat.{so,a}
Installed Directory: /usr/share/doc/expat-2.1.0

Short Description

xmlwf is a non-validating utility to check whether or not XML documents are well formed.
libexpat.{so,a} contains API functions for parsing XML.