# Template build file for 'libxml++'.
pkgname=libxml++
version=2.34.1
distfiles="${GNOME_SITE}/$pkgname/2.34/$pkgname-$version.tar.bz2"
build_style=gnu-configure
revision=1
short_desc="C++ bindings for libxml2"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=664f3636c425554bf5e7d1b60253244e2d723899be8a971fc54332148bfce040
long_desc="
 This library allows to manipulate XML files. It includes support
 to read, modify and write XML and HTML files. There is DTDs support
 this includes parsing and validation even with complex DtDs, either
 at parse time or later once the document has been modified. The output
 can be a simple SAX stream or and in-memory DOM like representations.
 In this case one can use the built-in XPath and XPointer implementation
 to select subnodes or ranges. A flexible Input/Output mechanism is
 available, with existing HTTP and FTP modules and combined to an
 URI library."

subpackages="$pkgname-devel"

Add_dependency build pkg-config
Add_dependency build libsigc++-devel
Add_dependency build libxml2-devel
Add_dependency build glib-devel
Add_dependency build glibmm-devel

pre_install()
{
	sed -i -e 's/install-data-am: install-data-local install-dist_referenceDATA/install-data-am: /' Makefile
}