void-packages/srcpkgs/libvisio/template
2015-01-03 12:27:01 +01:00

30 lines
846 B
Bash

# Template file for 'libvisio'
pkgname=libvisio
version=0.1.1
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 <eb@s01.de>"
license="GPL-3"
homepage="http://cgit.freedesktop.org/libreoffice/libvisio/commit/"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.bz2"
checksum=be166f55208de20362cccab111deb371e2a81b17fb0a0aa93682e248759fca8d
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
}
}