6.43. Expat-2.1.0

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

Approximate build time: 0.1 SBU
Required disk space: 11 MB

6.43.1. Installation of Expat

Prepare Expat for compilation:

./configure --prefix=/usr --disable-static

Compile the package:

make

To test the results, issue:

make check

Install the package to a temporary directory:

make install DESTDIR=$(pwd)/debian/tmp

If desired, install the documentation:

install -v -dm755 debian/tmp/usr/share/doc/expat-2.1.0
install -v -m644 doc/*.{html,png,css} debian/tmp/usr/share/doc/expat-2.1.0

Create the package archive:

buildpkg

Install the package:

dpkg -i ../expat_2.1.0_*.deb

6.43.2. Contents of Expat

Installed program: xmlwf
Installed libraries: libexpat.{a,so}
Installed directory: /usr/share/doc/expat-2.1.0

Short Descriptions

xmlwf

is a non-validating utility to check whether or not XML documents are well formed

libexpat

contains API functions for parsing XML