void-packages/srcpkgs/libixion/template

27 lines
763 B
Bash

# Template file for 'libixion'
pkgname=libixion
version=0.12.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config python3.4"
makedepends="boost-devel mdds python3.4-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=055b7b9e31663f0acb7f249d68ca08e480f8f5d43ef5e4bd57b2fb04242307b0
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
}
}