./autogen.sh
ARG_STATIC="--disable-static"
if [[ "$ULFS_PKG_STATIC" == "YES" ]]
then
ARG_STATIC="--enable-static"
fi
if [[ "$ULFS_PKG_TEST" == "YES" ]]
then
tar xf ../xmlts20130923.tar.gz
fi
./configure --prefix=/usr \
--sysconfdir=/etc \
$ARG_STATIC \
--with-history \
--with-icu \
PYTHON=/usr/bin/python3 \
--docdir=/usr/share/doc/libxml2-2.13.9
make if [[ "$ULFS_PKG_TEST" == "YES" ]] then systemctl stop httpd.service make check fi
make install rm -vf /usr/lib/libxml2.la && sed '/libs=/s/xml2.*/xml2"/' -i /usr/bin/xml2-config
ARG_STATIC="--disable-static"
if [[ "$ULFS_PKG_STATIC" == "YES" ]]
then
ARG_STATIC="--enable-static"
fi
CC="gcc -m32" CXX="g++ -m32" \
PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \
./configure --prefix=/usr \
$ARG_STATIC \
--host=i686-pc-linux-gnu \
--with-icu \
--without-python \
--libdir=/usr/lib32make
make DESTDIR=\$PWD/DESTDIR install cp -Rv DESTDIR/usr/lib32/* /usr/lib32
Comments:
Critical situation! Most important dependency! Last versions are drop support for SAX 1 parser interface which is needed for Rust-free librsvg and other legacy packages. Deprecated branch is used in order to build packages.