void-packages/srcpkgs/libmwaw/template
bra1nwave 38dea84e3a libmwaw: update to 0.3.12.
Closes: #7110 [via git-merge-pr]
2017-07-22 09:54:37 +02:00

33 lines
940 B
Bash

# Template file for 'libmwaw'
pkgname=libmwaw
version=0.3.12
revision=1
build_style=gnu-configure
configure_args="--disable-werror"
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=7691a6e6e7221d61c40e3f630a8907e3e516b99a587e47d09ec53f8ac60ed1e7
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
}
}