void-packages/srcpkgs/liborcus10/template

31 lines
877 B
Bash

# Template file for 'liborcus10'
pkgname=liborcus10
version=0.9.2
revision=2
wrksrc="${pkgname%10}-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python"
makedepends="boost-devel mdds0 libixion10-devel python-devel zlib-devel"
short_desc="Library for processing spreadsheet documents (0.10 ABI)"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MPL-2.0"
homepage="https://gitlab.com/orcus/orcus"
distfiles="http://kohei.us/files/orcus/src/liborcus-${version}.tar.xz"
checksum=dd49f9f1b8ff8a648434dd5c8b4fe1081d1118d61d0a71d4effee8f32553199c
conflicts="liborcus>=0"
pre_configure() {
autoreconf -if
}
liborcus10-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}