void-packages/srcpkgs/libxml2-python3/template

27 lines
757 B
Bash

# Template file for 'libxml2-python3'
pkgname=libxml2-python3
version=2.9.13
revision=1
wrksrc="libxml2-${version}"
build_wrksrc=python
build_style=python3-module
hostmakedepends="python3-devel"
makedepends="libxml2-devel python3-devel"
depends="python3"
short_desc="Library providing XML and HTML support - Python3 bindings"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="http://www.xmlsoft.org/"
distfiles="https://download.gnome.org/sources/libxml2/${version%.*}/libxml2-${version}.tar.xz"
checksum=276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e
post_patch() {
if [ "${CROSS_BUILD}" ]; then
vsed -i setup.py -e "s:/usr/include:${XBPS_CROSS_BASE}/usr/include:"
fi
}
post_install() {
vlicense ../COPYING
}