2010-11-11 02:13:59 +01:00
|
|
|
# Template build file for 'libxml++'.
|
|
|
|
pkgname=libxml++
|
2012-11-05 10:15:01 +01:00
|
|
|
version=2.36.0
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2010-11-11 02:13:59 +01:00
|
|
|
short_desc="C++ bindings for libxml2"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-11-05 10:15:01 +01:00
|
|
|
homepage="http://libxmlplusplus.sourceforge.net/"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/2.36/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=bfdf327bf9ebd12946b7aa6a152045f209d5c9fecd06ebfcdf9b3e7c1af6e2e1
|
2010-11-11 02:13:59 +01:00
|
|
|
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."
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libsigc++-devel libxml2-devel libglib-devel glibmm-devel"
|
2011-05-05 11:39:02 +02:00
|
|
|
|
2012-11-05 10:15:01 +01:00
|
|
|
pre_install() {
|
2011-05-05 11:39:02 +02:00
|
|
|
sed -i -e 's/install-data-am: install-data-local install-dist_referenceDATA/install-data-am: /' Makefile
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libxml++-devel_package() {
|
|
|
|
depends="libxml2-devel ${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/libxml++-2.6/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxml++_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|