void-packages/srcpkgs/libixion10/template

36 lines
1,003 B
Bash
Raw Normal View History

2016-02-29 12:33:52 +00:00
# Template file for 'libixion10'
pkgname=libixion10
version=0.9.1
2016-02-29 15:06:59 +00:00
revision=2
2016-02-29 12:33:52 +00:00
wrksrc="${pkgname%10}-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python"
makedepends="boost-devel mdds0 python-devel"
short_desc="General purpose formula parser and interpreter (0.10 ABI)"
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=77e35c163cd27657b83626a6da26c3b90f37ba9089d00aa25f384a9ac4b4e3a1
2016-02-29 15:06:59 +00:00
conflicts="libixion>=0"
2016-02-29 12:33:52 +00:00
pre_configure() {
autoreconf -if
}
do_configure() {
PYTHON_CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7" \
PYTHON_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython2.7" \
./configure ${configure_args}
}
libixion10-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}