29 lines
897 B
Bash
29 lines
897 B
Bash
# Template build file for 'libxml++'.
|
|
pkgname=libxml++
|
|
version=2.38.1
|
|
revision=1
|
|
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@voidlinux.eu>"
|
|
homepage="http://libxmlplusplus.sourceforge.net/"
|
|
license="LGPL-2.1"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=882529189b03db6c69925b3f579ab1941feb4f02b5fe2612504ee7e498a4a05f
|
|
|
|
pre_install() {
|
|
sed -i -e 's/install-data-am: install-data-local install-dist_referenceDATA/install-data-am: /' Makefile
|
|
}
|
|
|
|
libxml++-devel_package() {
|
|
depends="${makedepends} ${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"
|
|
}
|
|
}
|