void-packages/srcpkgs/liborcus11/template

32 lines
931 B
Bash

# Template file for 'liborcus'
pkgname=liborcus11
version=0.11.2
revision=3
wrksrc="${pkgname%11}-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python3.4"
makedepends="boost-devel mdds libixion11-devel python3.4-devel zlib-devel"
short_desc="Library for processing spreadsheet documents"
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=6911dc65a4d8276e42d32764e9ebee920b325cf59cfa7070fc72744d43b259ad
replaces="liborcus10>=0 liborcus<0.12.0"
pre_configure() {
autoreconf -if
}
liborcus11-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/python3.4/site-packages/*.a
vmove usr/lib/pkgconfig
}
}