void-packages/srcpkgs/libixion/template

29 lines
801 B
Bash

# Template file for 'libixion'
pkgname=libixion
reverts=0.14.0_1
version=0.13.0
revision=4
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/${pkgname}-${version}.tar.xz"
checksum=5ae360c52ba2d17c4abf5ae21fa947f75925459e085acef5972395f77333c7e5
replaces="libixion11>=0"
post_extract() {
sed -i '/^LDFLAGS=/d' configure
}
libixion-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}