void-packages/srcpkgs/libmwaw/template
2016-11-23 11:51:03 +01:00

32 lines
905 B
Bash

# Template file for 'libmwaw'
pkgname=libmwaw
version=0.3.9
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config doxygen"
makedepends="boost-devel zlib-devel librevenge-devel"
short_desc="Import library for legacy Mac documents"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="LGPL-2.1, MPL-2"
homepage="https://sourceforge.net/projects/libmwaw/"
distfiles="${SOURCEFORGE_SITE}/libmwaw/libmwaw/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
checksum=f7fca4d31510e52cda94f1272147f385e372448c0aaef16f07a5e8b3ceb5b2a0
libmwaw-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}
libmwaw-doc_package() {
noarch=yes
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}