# Template file for 'libixion'
pkgname=libixion
version=0.17.0
revision=4
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/"
distfiles="http://kohei.us/files/ixion/src/${pkgname}-${version}.tar.xz"
distfiles="${DEBIAN_SITE}/main/libi/libixion/libixion_${version}.orig.tar.gz"
checksum=53c97139223f3b786d498f86512a20ee878fab0ef981947647aa116df7c4101e
checksum=a081c8ffd495396f1f801ea3eaf8266a8b4fc5ffbc529d2599bb7a59acd6595c
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
	}
}
