void-packages/srcpkgs/libvisio/template
2022-01-16 21:07:42 +01:00

30 lines
856 B
Bash

# Template file for 'libvisio'
pkgname=libvisio
version=0.1.7
revision=4
build_style=gnu-configure
hostmakedepends="gperf pkg-config perl"
makedepends="boost-devel librevenge-devel libxml2-devel icu-devel"
short_desc="Library for reading and converting MS Visio diagrams"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3"
homepage="http://cgit.freedesktop.org/libreoffice/libvisio/commit/"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.xz"
checksum=8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c
libvisio-devel_package() {
depends="libvisio>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libvisio-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}