30 lines
855 B
Bash
30 lines
855 B
Bash
# Template file for 'libvisio'
|
|
pkgname=libvisio
|
|
version=0.1.6
|
|
revision=1
|
|
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.eu>"
|
|
license="GPL-3"
|
|
homepage="http://cgit.freedesktop.org/libreoffice/libvisio/commit/"
|
|
distfiles="http://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.xz"
|
|
checksum=fe1002d3671d53c09bc65e47ec948ec7b67e6fb112ed1cd10966e211a8bb50f9
|
|
|
|
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
|
|
}
|
|
}
|