void-packages/srcpkgs/liborcus/template
2018-07-21 18:26:50 +02:00

30 lines
854 B
Bash

# Template file for 'liborcus'
pkgname=liborcus
version=0.13.4
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python3"
makedepends="boost-devel mdds libixion-devel python3-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=b71c4c15febe7dae63406e8023898e3a5cf7fe4ec43b2028dfbbf24e9fe282e4
replaces="liborcus11>=0"
pre_configure() {
autoreconf -if
}
liborcus-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove ${py3_sitelib}/*.a
vmove usr/lib/pkgconfig
}
}