PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH=https://gitlab.gnome.org/GNOME/libxml2/-/archive/v${PKGVER}/libxml2-v${PKGVER}.tar.bz2 MAKEDEPENDS= # --with-tree seems required otherwise libxml2 does not compile at all... same for --with-output, --with-pattern # sax1 and xptr seem needed for xmlsec1 app function do_config { CC="$CC" LD="$LD" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ LDFLAGS="-L$FLXROOTDIR/usr/lib" \ ./autogen.sh --prefix=/usr --bindir=/bin --sbindir=/sbin --libdir="/usr/lib/" \ --sysconfdir=/etc --build="$FLXHOST" --host="$FLXTARG" --with-sysroot="$FLXROOTDIR" \ --with-threads --with-xpath=yes --with-valid=yes --with-reader=yes --with-c14n=yes \ --with-xptr=yes --with-sax1=yes --with-python=no --with-history=no --with-icu=no --with-zlib=no \ --with-lzma=no --with-output=yes --with-tree=yes --with-pattern=yes --with-modules=no \ --with-schematron=no --with-writer=no \ --with-ftp=no --with-html=no --with-http=no --with-iso8859x=no --with-legacy=no \ --with-catalog=no --with-debug=no --with-docbook=no \ --with-xinclude=no --with-coverage=no --with-push=no --with-regexps=no } function do_compile_only { # parallel make $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR mkdir -p $ROOTDIR/usr/bin mv $ROOTDIR/bin/* $ROOTDIR/usr/bin/ set_default_perm $ROOTDIR }