void-packages/srcpkgs/libxml++3.0/template

26 lines
826 B
Bash

# Template file for 'libxml++3.0'
pkgname=libxml++3.0
version=3.0.1
revision=1
wrksrc="libxml++-${version}"
build_style=gnu-configure
hostmakedepends="perl pkg-config"
makedepends="libsigc++-devel libxml2-devel libglib-devel glibmm-devel"
short_desc="C++ bindings for libxml2"
maintainer="Christian Buschau <christian.buschau@mailbox.org>"
license="LGPL-2.1-or-later"
homepage="http://libxmlplusplus.sourceforge.net/"
distfiles="${GNOME_SITE}/libxml++/${version%.*}/libxml++-${version}.tar.xz"
checksum=19dc8d21751806c015179bc0b83f978e65c878724501bfc0b6c1bcead29971a6
libxml++3.0-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libxml++-3.0/include
vmove "usr/lib/*.so"
}
}