# Template file for 'libixion'
pkgname=libixion
version=0.19.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config python3"
makedepends="boost-devel fmt-devel mdds python3-devel spdlog"
short_desc="General purpose formula parser and interpreter"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://gitlab.com/ixion/ixion/"
changelog="https://gitlab.com/ixion/ixion/-/raw/master/CHANGELOG"
distfiles="http://kohei.us/files/ixion/src/libixion-${version}.tar.xz"
# distfiles="${DEBIAN_SITE}/main/libi/libixion/libixion_${version}.orig.tar.gz"
checksum=b4864d7a55351a09adbe9be44e5c65b1d417e80e946c947951d0e8428b9dcd15
replaces="libixion11>=0"

libixion-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
