void-packages/srcpkgs/libixion11/template

29 lines
836 B
Bash

# Template file for 'libixion'
pkgname=libixion11
version=0.11.1
revision=7
wrksrc="${pkgname%11}-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config python3"
makedepends="boost-devel mdds python3-devel"
short_desc="General purpose formula parser and interpreter"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MPL-2.0"
homepage="https://gitlab.com/ixion/ixion/"
distfiles="http://kohei.us/files/ixion/src/libixion-${version}.tar.xz"
checksum=c9e9f52580d618fa969fc0293f55af21a9c74bfb802e655c6bf239202f95bede
replaces="libixion10>=0 libixion<0.12.0"
post_extract() {
sed -i '/^LDFLAGS=/d' configure
}
libixion11-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}