void-packages/srcpkgs/liborcus/template

32 lines
985 B
Bash
Raw Normal View History

# Template file for 'liborcus'
pkgname=liborcus
version=0.0.20160214
revision=1
_gitrev=da946ed8908550cb5fe281055dcff46c1aefebab
wrksrc="orcus-${_gitrev}-${_gitrev}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python3.4"
makedepends="boost-devel mdds libixion-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="https://gitlab.com/orcus/orcus/repository/archive.tar.bz2?ref=${_gitrev}>${pkgname}-${version}.tar.gz"
checksum=9d43dc689b0124a366c8c29dee834feb85bad80724baca582774e38096e42fdb
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 usr/lib/python3.4/site-packages/*.a
vmove usr/lib/pkgconfig
}
}