PKGNAME=libxml2-2
PKGDES="Utilities and libraries for parsing XMLs (Legacy ABI)"
PKGSEC=utils
PKGDEP="zlib readline ncurses xz icu"

# NOTE: Using Autotools
# Their Meson build script does not instruct the linker to annotate the
# symbols with versions from libxml2.syms.
ABTYPE=autotools
AUTOTOOLS_AFTER=(
	"--with-html"
	"--with-http"
	"--with-icu"
	"--with-lzma"
	"--without-python"
	"--with-threads"
	"--with-zlib"
	"--with-legacy"
	"--libdir=/usr/lib/legacy/$PKGNAME"
)

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
