void-packages/srcpkgs/libpagemaker/template
2016-03-04 08:56:49 +01:00

30 lines
845 B
Bash

# Template file for 'libpagemaker'
pkgname=libpagemaker
version=0.0.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="librevenge-devel boost-devel"
short_desc="Parses Aldus/Adobe PageMaker documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=d896dc55dafd84ee3441e0ca497b810809f9eea44805a495c3843412309036d6
libpagemaker-devel_package() {
depends="libpagemaker>=${version}_${revision} librevenge-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libpagemaker-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}