void-packages/srcpkgs/libxml++/template
2014-02-21 11:35:02 +01:00

28 lines
884 B
Text

# Template build file for 'libxml++'.
pkgname=libxml++
version=2.36.0
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config perl"
makedepends="libsigc++-devel libxml2-devel libglib-devel glibmm-devel"
short_desc="C++ bindings for libxml2"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://libxmlplusplus.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/${pkgname}/2.36/${pkgname}-${version}.tar.xz"
checksum=bfdf327bf9ebd12946b7aa6a152045f209d5c9fecd06ebfcdf9b3e7c1af6e2e1
pre_install() {
sed -i -e 's/install-data-am: install-data-local install-dist_referenceDATA/install-data-am: /' Makefile
}
libxml++-devel_package() {
depends="libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libxml++-2.6/include
vmove "usr/lib/*.so"
}
}