void-packages/srcpkgs/libqxp/template

32 lines
891 B
Bash

# Template file for 'libqxp'
pkgname=libqxp
version=0.0.2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="boost-devel librevenge-devel icu-devel"
short_desc="Parser for QuarkXPress file format documents"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MPL-2.0"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libqxp"
distfiles="https://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=e137b6b110120a52c98edd02ebdc4095ee08d0d5295a94316a981750095a945c
libqxp-tools_package() {
short_desc+=" - tools"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
}
}
libqxp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
}
}