8.42.3. Contents of Expat
Installed program: xmlwf
Installed libraries: libexpat.so
Installed directory: /usr/share/doc/expat-2.8.1
The Expat package contains a stream oriented C library for parsing XML.
Prepare Expat for compilation:
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/expat-2.8.1Compile the package:
make
To test the results, issue:
make check
Install the package:
make install
If desired, install the documentation:
install -v -m644 doc/*.{html,css} /usr/share/doc/expat-2.8.1Clean previous build but keep precompiled doc because it cannot be rebuilt in this stage of the system:
sed -e "/^am__append_1/ s/doc//" -i Makefile make clean
Prepare Expat for compilation:
CC="gcc -m32" \
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--disable-staticCompile the package:
make
Install the package:
make DESTDIR=$PWD/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR